These functions can get and set configuration options for GDAL, for fine control over specific GDAL behaviours.
vapour_set_config(option, value)
vapour_get_config(option)
GDAL config name (see Details), character string
value for config option, character string
character string for vapour_get_config
, integer 1 for successful vapour_set_config()
Configuration options may also be set as environment variables.
See GDAL config options for details on available options.
if (FALSE) {
(orig <- vapour_get_config("GDAL_CACHEMAX"))
vapour_set_config("GDAL_CACHEMAX", "64")
vapour_get_config("GDAL_CACHEMAX")
vapour_set_config("GDAL_CACHEMAX", orig)
}