| validateCreationOptions | R Documentation |
validateCreationOptions() is a helper function primarily used by GDAL's
Create() and CreateCopy() to validate that the passed-in list of creation
options is compatible with the GDAL_DMD_CREATIONOPTIONLIST metadata item
defined by some drivers. If the GDAL_DMD_CREATIONOPTIONLIST metadata item
is not defined, this function will return TRUE. Otherwise it will check
that the keys and values in the list of creation options are compatible
with the capabilities declared by the GDAL_DMD_CREATIONOPTIONLIST metadata
item. In case of incompatibility a message will be emitted and FALSE will
be returned. Wrapper of GDALValidateCreationOptions() in the GDAL API.
validateCreationOptions(format, options)
format |
Character string giving a format driver short name
(e.g., |
options |
A character vector of format-specific creation options as
|
A logical value, TRUE if the given creation options are
compatible with the capabilities declared by the GDAL_DMD_CREATIONOPTIONLIST
metadata item for the specified format driver (or if the
GDAL_DMD_CREATIONOPTIONLIST metadata item is not defined for this driver),
otherwise FALSE.
getCreationOptions(), create(), createCopy()
validateCreationOptions("GTiff", c("COMPRESS=LZW", "TILED=YES"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.