Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In module storage, function geodataframe_to_postgis fails with an non-EPSG crs in the GeoDataFrame #6

Open
rbejar opened this issue Mar 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rbejar
Copy link
Contributor

rbejar commented Mar 13, 2024

This function saves a gdf as a table in a PostGIS DB using the GeoPandas to_postgis function. That fails if the CRS in the gdf is a non-EPSG one (for example, rhealpix defined as a WKT string, but we need that). If the gdf.crs is set to None, it works, but the CRS should be stored elsewhere.

This is not a priority for now, and it does not seem to have an easy fix. But eventually it should be solved.

@rbejar rbejar added the bug Something isn't working label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant