Skip to contents

A convenience functions for simultaneously setting the GDAL runtime configuration options in both terra and gdalraster.

Usage

set_gdal_config(option, value)

Arguments

option

Character name of a configuration option.

value

Character value to set for the option. value = "" (empty string) will unset previously set values.

Value

No return value, called for side effects.

Examples

set_gdal_config("GDAL_CACHEMAX", "10%")
## unset
set_gdal_config("GDAL_CACHEMAX", "")