[gdal-dev] Discover whether a GDALDataset is raster or vector?
jramm
jamessramm at gmail.com
Mon Jun 6 13:14:44 PDT 2016
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.
More information about the gdal-dev
mailing list