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 "SELECT *, '$filen' as filename FROM Layer" However I'm curious if there is a way to do this without knowing beforehand what layers are present? While I can do this in python, I'm trying to do this as a bash shell script.
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
