USDAForestService / gdalraster

R Bindings to GDAL (Geospatial Data Abstraction Library)
https://usdaforestservice.github.io/gdalraster/
Other
41 stars 7 forks source link

Add `ogr_layer_rename()`: rename an existing layer in a vector dataset #502

Closed ctoney closed 1 month ago

ctoney commented 1 month ago

' ogr_layer_rename() renames a layer in a vector dataset. This operation is

' implemented only by layers that expose the Rename capability (see

' ogr_layer_test_cap() above). This operation will fail if a layer with the

' new name already exists. Returns a logical scalar, TRUE indicating success.

' Requires GDAL >= 3.5.