Created
September 25, 2018 19:26
-
-
Save eczajk1/c1b8f2746bc070469a1ef1cd9eb1fe47 to your computer and use it in GitHub Desktop.
load GeoPackage into PostgreSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ogr2ogr -f PostgreSQL PG:"dbname='mydb' host='localhost' port='5432' user='postgres' password='ilovedonuts'" \ | |
| ~/Desktop/mygpkg.gpkg gpkg_layer_name -nln pg_schema_name.pg_layer_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment