[gdal-dev] GDAL query creation options?

Even Rouault even.rouault at spatialys.com
Thu Jun 11 03:58:50 PDT 2015


Selon jramm <jamessramm at gmail.com>:

> Is there a way to programatically query what dataset creation/layer creation
> options are available for a driver?I'd like to be able to do something like:
> driver->listDCO(*options)

driver->GetMetadataItem(GDAL_DMD_CREATIONOPTIONLIST)  for raster drivers, and
starting with GDAL 2.0, for vector drivers as well

driver->GetMetadataItem(GDAL_DS_LAYER_CREATIONOPTIONLIST) for vector drivers,
starting with GDAL 2.0

This will return a string with a XML content describing the options.

>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GDAL-query-creation-options-tp5210356.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list