Skip to content

Commit

Permalink
Fix reprojecting GeoArrow input (#532)
Browse files Browse the repository at this point in the history
Closes #528

When GeoPandas 1.0 is out, we should add a test for this. Ref
#533
  • Loading branch information
kylebarron authored May 27, 2024
1 parent dd724b1 commit 5b1a145
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lonboard/_geoarrow/ops/reproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ def reproject_column(
transformer=transformer,
max_workers=max_workers,
)
return field.with_metadata(new_extension_metadata), new_chunked_array
new_field = field.with_type(new_chunked_array.type).with_metadata(
new_extension_metadata
)
return new_field, new_chunked_array


def _reproject_column(
Expand Down

0 comments on commit 5b1a145

Please sign in to comment.