Hi there... I need to push a geojson file to Postg...
# ask-community
d
Hi there... I need to push a geojson file to Postgres (PostGIS). What is the most efficient way to do this? One option is to write a shell command (using ogr2ogr) within a task. Is there a recommended way to do this?
1
FYI, ive tried using Geopandas to_postgis method but that is way too slow.
a
Perhaps using the collection prefect-shell if you need to write a shell command within a task?
🙌 1