At the driver level: GetMetadataItem(GDAL_DCAP_MULTIPLE_VECTOR_LAYERS) :
https://gdal.org/en/stable/api/raster_c_api.html#c.GDAL_DCAP_MULTIPLE_VECTOR_LAYERS
Le 15/01/2025 à 09:39, Michał Kowalczuk via gdal-dev a écrit :
Hi,
Does GDAL API offers function that indicates that the specified driver
supports storing one or many layers in the dataset, e.g. for GPKG it
returns True, for SHP -> False?
All the best!
Michał Kowalczuk
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is
just about bytes.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev