Coerce a named list, a KEY=VALUE character vector, a driver-metadata tibble, or an existing
gdal_config_opts to the gdal_config_opts() class.
Usage
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())
# Default S3 method
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())
# S3 method for class 'gdal_config_opts'
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())
# S3 method for class 'list'
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())
# S3 method for class 'character'
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())
# S3 method for class 'tbl_df'
as_gdal_config_opts(x, ..., driver = NULL, call = rlang::caller_env())Arguments
- x
Object to coerce.
- ...
Unused; for method extensibility.
- driver
Optional GDAL driver short name to attach.
- call
The execution environment of a currently running function, e.g.
caller_env(). The function will be mentioned in error messages as the source of the error. See thecallargument ofabort()for more information.
Value
A gdal_config_opts() object.