USDAForestService / gdalraster

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

Add `GDALVector::deleteFeature()` #459

Closed ctoney closed 2 months ago

ctoney commented 2 months ago

$deleteFeature(fid)

' Delete feature from layer. The feature with the indicated feature ID is

' deleted from the layer if supported by the format driver. The value of fid

' must be a numeric scalar, optionally carrying the bit64::integer64 class

' attribute (should be a whole number, will be truncated). The DeleteFeature

' element in the list returned by $testCapability() can be checked to

' establish if this layer has delete feature capability. Returns logical

' TRUE if the operation succeeds, or FALSE on failure.