View source: R/vapour-gdal-library.R
vapour_set_config | R Documentation |
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)
option |
GDAL config name (see Details), character string |
value |
value for config option, character string |
Configuration options may also be set as environment variables.
See GDAL config options for details on available options.
character string for vapour_get_config
, integer 1 for successful vapour_set_config()
## Not run:
(orig <- vapour_get_config("GDAL_CACHEMAX"))
vapour_set_config("GDAL_CACHEMAX", "64")
vapour_get_config("GDAL_CACHEMAX")
vapour_set_config("GDAL_CACHEMAX", orig)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.