Construct a gdal_config_opts() object for the OpenFileGDB driver. Only options you supply are
emitted; boolean values are validated against the driver metadata.
Usage
gdb_config_opts(
default_string_width = NULL,
in_memory_spi = NULL,
...,
.set_defaults = FALSE
)Arguments
- default_string_width
Value for
OPENFILEGDB_DEFAULT_STRING_WIDTH(integer). Width for string fields created when the requested width is the unspecified value0. GDAL default65536.- in_memory_spi
Value for
OPENFILEGDB_IN_MEMORY_SPI. LogicalTRUE/FALSE(coerced to"YES"/"NO"); build an in-memory spatial index instead of using the native one.- ...
Additional
NAME = valueoptions passed through verbatim alongside the typed arguments. They are coerced and validated against the driver metadata in the same way, and take precedence over a typed argument that sets the same option.- .set_defaults
Logical. If
TRUE, options left unset (NULL) are filled with the driver's documented GDAL metadata defaults (via the relevantgdal_vector_driver_*_opts_defaults()); user-supplied values always take precedence. Defaults toFALSE.
Value
A gdal_config_opts() object for the OpenFileGDB driver.
Examples
gdb_config_opts(default_string_width = 1024L, in_memory_spi = TRUE)
#> <gdal_config_opts/gdal_opts>
#> ℹ Driver: OpenFileGDB
#> ℹ Configuration Options: OPENFILEGDB_DEFAULT_STRING_WIDTH=1024, OPENFILEGDB_IN_MEMORY_SPI=YES
#> ℹ Command Line: --config 'OPENFILEGDB_DEFAULT_STRING_WIDTH=1024' --config 'OPENFILEGDB_IN_MEMORY_SPI=YES'