Skip to content

Uploading data to postgis #310

Answered by giswqs
dahlalex asked this question in Q&A
Discussion options

You must be logged in to vote

You can use m.save_draw_features('roi.geojson') to save drawings to a GeoJSON, then use GeoPandas to read it as a GeoDataFrame and save it to PostGIS

https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_postgis.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants