Accessors for a driver's open options (the --oo / GDALOpenEx() channel), parsed from the
driver's DMD_OPENOPTIONLIST metadata.
gdal_vector_driver_open_opts(): the open-option table fordriver.gdal_vector_driver_open_opts_defaults(): name to default (all, or one whenopt_namegiven).gdal_vector_driver_open_opts_values(): name to allowed values (only constrained options).gdal_vector_driver_open_opts_types(): name todata_type.
Usage
gdal_vector_driver_open_opts(driver)
gdal_vector_driver_open_opts_defaults(driver, opt_name = NULL)
gdal_vector_driver_open_opts_values(driver, opt_name = NULL)
gdal_vector_driver_open_opts_types(driver)Value
A tibble::tibble(), named character vector, or named list (see gdal_vector_driver_opts()).
Examples
gdal_vector_driver_open_opts("GPKG")
#> # A tibble: 4 × 9
#> driver type sub_type name description scope default values data_type
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <list> <chr>
#> 1 GPKG open NA IMMUTABLE Whether th… all NA <chr> boolean
#> 2 GPKG open NA LIST_ALL_TAB… Whether al… vect… AUTO <chr> string-s…
#> 3 GPKG open NA NOLOCK Whether th… all NA <chr> boolean
#> 4 GPKG open NA PRELUDE_STAT… SQL statem… rast… NA <chr> string
gdal_vector_driver_open_opts_values("GPKG", "LIST_ALL_TABLES")
#> [1] "AUTO" "YES" "NO"