-
Hi @giswqs, thank you so much for this effort! I wonder if it's possible to save the drawings on the map to postgis? regards, |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Nov 23, 2022
Replies: 1 comment
-
You can use https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_postgis.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 PostGIShttps://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.to_postgis.html