ogr2ogr -nlt PROMOTE_TO_MULTI \
-t_srs 'EPSG:4326' \
-overwrite \
-lco SCHEMA=public \
-lco PRECISION=NO \
--config PG_USE_COPY YES \
-f PostgreSQL PG:$(heroku config:get DATABASE_URL -a myapp) \
~/Downloads/natural_earth_vector.gpkg/packages/natural_earth_vector.gpkg
Created
July 3, 2018 03:10
-
-
Save invisiblefunnel/bf74c1890bb1182efdf7987a2c7f3582 to your computer and use it in GitHub Desktop.
Geopackage to PostGIS via ogr2ogr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment