Learn R Programming

gdalraster (version 1.11.1)

get_config_option: 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)

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.

Arguments

key

Character name of a configuration option.

See Also

set_config_option()

vignette("gdal-config-quick-ref")

Examples

Run this code
## this option is set during initialization of the gdalraster package
get_config_option("OGR_CT_FORCE_TRADITIONAL_GIS_ORDER")

Run the code above in your browser using DataLab