Selon jramm <jamessr...@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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to