You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some geometries in geopandas dataframe become inf after calling to_crs(), either converting to or from WGS 84 (epsg : 4326). Use the NAD 83 equivalent (epsg : 4269) works.
Describe the bug
Some geometries in geopandas dataframe become inf after calling to_crs(), either converting to or from WGS 84 (epsg : 4326). Use the NAD 83 equivalent (epsg : 4269) works.
This is a known issue in the community, I don't find a clear solution:
https://gis.stackexchange.com/questions/372351/re-projection-from-bng-to-wsg84-consistently-fails-using-geopandas-to-crs
geopandas/geopandas#798
To Reproduce
See notebook: https://github.com/wsp-sag/Lasso/blob/develop_with_ranch/notebooks/demo-error-with-wgs84-conversion.ipynb
Thoughts on resolution
Use epsg 4629 as alternative standard crs (CRS_alt)
Environment
Operating system: windows 10
Context (conda, jupyter, etc): conda 3
Environment (e.g. output from
conda list
):The text was updated successfully, but these errors were encountered: