The enumerators GDAL declares: data types (GDT_*), access modes (GA_*),
colour interpretations (GCI_*), resampling algorithms (GRA_*,
GRIORA_*), open flags (OF_*), error classes (CE_*, CPLE_*) and the
rest. They are returned as one named vector rather than exported one by one,
so that GDAL7 adds two names to the search path instead of two hundred.
Details
A constant that the GDAL in use is too old to declare is absent from the
vector. See gdal7_capabilities() for the same question about bindings.
Examples
head(gdal_constants("GDT_"))
#> GDT_Unknown GDT_Byte GDT_Int8 GDT_UInt16 GDT_Int16 GDT_UInt32
#> 0 1 14 2 3 4
gdal_constants("GA_")
#> GA_ReadOnly GA_Update
#> 0 1