Richard,
Tried to google for this, but asking here: is it only possible to rename one layer per ogr2ogr call? (while it is possible to load several layers)

Not with ogr2ogr


If so I will make my scripts do the loading one by one, but just want to check.

or using https://github.com/OSGeo/gdal/blob/master/swig/python/gdal-utils/osgeo_utils/samples/ogr2vrt.py, doing the layer renames in the vrt, and ogr2ogr the vrt to your target database

Even

PS: Richard, I very often get "<rdmaili...@duif.net>: Recipient address rejected: Domain not found." when replying to you and my email client doesn't send it. I had to remove your email from the To list

--

http://www.spatialys.com
My software is free, but my time generally not.

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

Reply via email to