Skip to contents

The metadata and capability keys GDAL declares: driver metadata (DMD_*), driver capabilities (DCAP_*), dataset capabilities (GDsC*) and dimension types (DIM_TYPE_*). These are the keys to pass to get_metadata_item() and test_capability().

Usage

gdal_string_constants(prefix = NULL)

Arguments

prefix

Optional. Keep only the constants whose names start with this.

Value

A named character vector.

Examples

head(gdal_string_constants("DCAP_"))
#>                                DCAP_OPEN 
#>                              "DCAP_OPEN" 
#>                              DCAP_CREATE 
#>                            "DCAP_CREATE" 
#>             DCAP_CREATE_MULTIDIMENSIONAL 
#>           "DCAP_CREATE_MULTIDIMENSIONAL" 
#>                          DCAP_CREATECOPY 
#>                        "DCAP_CREATECOPY" 
#>   DCAP_CREATE_ONLY_VISIBLE_AT_CLOSE_TIME 
#> "DCAP_CREATE_ONLY_VISIBLE_AT_CLOSE_TIME" 
#>         DCAP_CREATECOPY_MULTIDIMENSIONAL 
#>       "DCAP_CREATECOPY_MULTIDIMENSIONAL"