Skip to content

Commit

Permalink
Update reprojection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Sep 24, 2024
1 parent 0cad90c commit 4677356
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 @@ -104,7 +104,10 @@ def reproject_column(
return field, column

# NOTE: Not sure the best place to put this warning
warnings.warn("Input being reprojected to EPSG:4326 CRS")
warnings.warn(
"Input being reprojected to EPSG:4326 CRS.\n"
"Lonboard is only able to render data in EPSG:4326 projection."
)

transformer = TransformerFromCRS(existing_crs, to_crs, always_xy=True)

Expand Down

0 comments on commit 4677356

Please sign in to comment.