Hi all,

I'd like to export all the table of a PG schema to either GPKG or a shapefiles.

In the schema I've a lot of non-spatial tables and with something like:

ogr2ogr -f GPKG output.gpkg "PG:dbname=mydb schemas=myschema user=myuser password=mypws host=myhost" -progress

the output is generated but it only contains geometric tables. I couldn't find a parameter to force the export of also non-spatial tables.

What I'd like to avoid is to loop on every single layer

Cheers and thanks

Matteo
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to