getCreationOptions {gdalraster} | R Documentation |
Return the list of creation options of a GDAL driver
Description
getCreationOptions()
returns the list of creation options supported by a
GDAL format driver as an XML string (invisibly).
Wrapper for GDALGetDriverCreationOptionList()
in the GDAL API.
Information about the available creation options is also printed to the
console by default.
Usage
getCreationOptions(format, filter = NULL)
Arguments
format |
Raster format short name (e.g., "GTiff"). |
filter |
Optional character vector of creation option names. Controls
only the amount of information printed to the console.
By default, information for all creation options is printed. Can be set to
empty string |
Value
Invisibly, an XML string that describes the full list of creation
options or empty string ""
(full output of
GDALGetDriverCreationOptionList()
in the GDAL API).
See Also
GDALRaster-class
, create()
, createCopy()
Examples
getCreationOptions("GTiff", filter="COMPRESS")