[Gdal-dev] Validation of creation options given to gdal_translate
and gdalwarp
Even Rouault
even.rouault at mines-paris.org
Fri Oct 12 13:48:35 EDT 2007
I've recently commited in GDAL trunk
(http://trac.osgeo.org/gdal/changeset/12380, see also
http://trac.osgeo.org/gdal/ticket/611) some code to validate the creation
options passed by the user with the -co command line option to the output
drivers.
GDALValidateCreationOptions only reports warnings and not failures when it
detects that an option does not match the list of creation options advertized
by the driver, so this should not break anything.
This new code will probably require some driver mainteners to add missing
creation options in the creation option list to avoid false warnings.
The option types handled are :
- int/integer
- unsigned int
- float
- boolean
- string
- string-select
Frank Warmerdam outlined that some drivers use private/undocumented creation
options. Either people using them are OK to live with the new warnings,
either we must find a way to declare private creation options.
Best regards,
Even.
More information about the Gdal-dev
mailing list