get_config_option {gdalraster} | R Documentation |
Get GDAL configuration option
Description
get_config_option()
gets the value of GDAL runtime configuration option.
Configuration options are essentially global variables the user can set.
They are used to alter the default behavior of certain raster format
drivers, and in some cases the GDAL core. For a full description and
listing of available options see
https://gdal.org/user/configoptions.html.
Usage
get_config_option(key)
Arguments
key |
Character name of a configuration option. |
Value
Character. The value of a (key, value) option previously set with
set_config_option()
. An empty string (""
) is returned if key
is not
found.
See Also
vignette("gdal-config-quick-ref")
Examples
## this option is set during initialization of the gdalraster package
get_config_option("OGR_CT_FORCE_TRADITIONAL_GIS_ORDER")
[Package gdalraster version 1.11.1 Index]