File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -367,12 +367,10 @@ def __init__(
367
367
table_o3 = imported_stream
368
368
else :
369
369
assert isinstance (imported_stream , ChunkedArray )
370
- field = imported_stream .field .with_name ("geometry" )
371
- schema = Schema ([field ])
372
- table = Table .from_arrays ([imported_stream ], schema = schema )
373
- table = add_positional_row_index (table )
370
+ schema = Schema ([imported_stream .field .with_name ("geometry" )])
371
+ table_o3 = Table .from_arrays ([imported_stream ], schema = schema )
372
+ table_o3 = add_positional_row_index (table_o3 )
374
373
375
- table_o3 = Table .from_arrow (table )
376
374
parsed_tables = parse_serialized_table (table_o3 )
377
375
assert len (parsed_tables ) == 1 , (
378
376
"Mixed geometry type input not supported here. Use the top "
You can’t perform that action at this time.
0 commit comments