Hi Given a GDALDataset pointer, which has been opened using GDALOpenEx(...), what is the best way to discover whether the dataset is raster or vector?
I have thought of checking the drivers' metadata for GDAL_DCAP_OF_RASTER or VECTOR, but this could potentially return YES for both if it is e.g the geopackage driver? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Discover-whether-a-GDALDataset-is-raster-or-vector-tp5270223.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev