Learn R Programming

vapour (version 0.10.0)

vapour_set_config: Set and query GDAL configuration options

Description

These functions can get and set configuration options for GDAL, for fine control over specific GDAL behaviours.

Usage

vapour_set_config(option, value)

vapour_get_config(option)

Value

character string for vapour_get_config, integer 1 for successful vapour_set_config()

Arguments

option

GDAL config name (see Details), character string

value

value for config option, character string

Details

Configuration options may also be set as environment variables.

See GDAL config options for details on available options.

Examples

Run this code
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)
}

Run the code above in your browser using DataLab