vapour_set_config: Set and query GDAL configuration options

View source: R/vapour-gdal-library.R

vapour_set_configR Documentation

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)

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.

Value

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

Examples

## 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)

vapour documentation built on June 22, 2024, 10:01 a.m.