Skip to content

Commit 5b1a145

Browse files
authored
Fix reprojecting GeoArrow input (#532)
Closes #528 When GeoPandas 1.0 is out, we should add a test for this. Ref #533
1 parent dd724b1 commit 5b1a145

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lonboard/_geoarrow/ops/reproject.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ def reproject_column(
111111
transformer=transformer,
112112
max_workers=max_workers,
113113
)
114-
return field.with_metadata(new_extension_metadata), new_chunked_array
114+
new_field = field.with_type(new_chunked_array.type).with_metadata(
115+
new_extension_metadata
116+
)
117+
return new_field, new_chunked_array
115118

116119

117120
def _reproject_column(

0 commit comments

Comments
 (0)