File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,15 +178,15 @@ function _fromtable(
178
178
):: IFeatureLayer where {names}
179
179
cols = Tables. columns (rows)
180
180
types = (eltype (collect (col)) for col in cols)
181
- return _fromtable (Tables. Schema (names, types), rows; name)
181
+ return _fromtable (Tables. Schema (names, types), rows; name= name )
182
182
end
183
183
184
- function _fromtable (:: Nothing , rows, name:: String = " " ):: IFeatureLayer
184
+ function _fromtable (:: Nothing , rows; name:: String = " " ):: IFeatureLayer
185
185
state = iterate (rows)
186
186
state === nothing && return IFeatureLayer ()
187
187
row, _ = state
188
188
names = Tables. columnnames (row)
189
- return _fromtable (Tables. Schema (names, nothing ), rows; name)
189
+ return _fromtable (Tables. Schema (names, nothing ), rows; name= name )
190
190
end
191
191
192
192
"""
@@ -232,5 +232,5 @@ function IFeatureLayer(table; name::String = "")::IFeatureLayer
232
232
# Extract table data
233
233
rows = Tables. rows (table)
234
234
schema = Tables. schema (table)
235
- return _fromtable (schema, rows; name)
235
+ return _fromtable (schema, rows; name= name )
236
236
end
You can’t perform that action at this time.
0 commit comments