Maybe you could just use ogrinfo to extract the layers, and then iterate over those using a bash for loop. Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180820/68339724/attachment.html>