Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ogr2ogr -f "PostgreSQL" PG:"host=hosting_url port=5432 dbname=database_name user=username password=password" -lco SCHEMA=schema_name "D:dataData.gdb" -overwrite -progress -lco OVERWRITE=YES --config PG_USE_COPY YES
- import os, subprocess
- command = ["C:\Program Files\QGIS 2.18\bin\ogr2ogr.exe",
- "-f", "PostgreSQL", "PG:"host=hosting_url port=5432 dbname=database_name user=username password=password"", "-lco", "SCHEMA=schema_name", "D:dataData.gdb", "-overwrite", "-progress", "-lco", "OVERWRITE=YES", "--config", "PG_USE_COPY", "YES"]
Add Comment
Please, Sign In to add comment