Re: [gdal-dev] ogr2ogr -sql on a dataset level

2018-08-19 Thread bradh
Maybe you could just use ogrinfo to extract the layers, and then iterate over those using a bash for loop. Brad ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] ogr2ogr -sql on a dataset level

2018-08-19 Thread Mike
I'm looking to see if there is a way to do a sql statement on a dataset level instead of a layer level. Basically, I have a bash script, and wish to merge a bunch of esrifilegeodatabase.zip into a geopackage. I can do something like this ogr2ogr -F GPKG dest.gpkg -append -update $zip -sql "SELEC