Hot answers tagged

1

General syntax would be something like this ogr2ogr -f GPX output.gpx PG:"host=myhost user=myloginname dbname=mydbname password=mypassword" The GPX schema only allows certain field names. You can remap field names using the -sql option. ogr2ogr -f GPX output.gpx PG:"host=myhost user=myloginname dbname=mydbname password=mypassword" -sql "SELECT field1 ...



Only top voted, non community-wiki answers of a minimum length are eligible