USDAForestService / gdalraster

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

Add ogr_proc(): interface to OGR facilities for vector geoprocessing #451

Closed ctoney closed 2 months ago

ctoney commented 2 months ago

ogr_proc() performs various geoprocessing operations on vector layers (intersection, union, clip, etc). It provides an interface to the GDAL API methods for these operations (OGRLayer::Intersection(), etc). Inputs are given as objects of class GDALVector, which may have spatial and/or attribute filters applied. The output layer will be created if it does not exist, but output can also be appended to an existing layer, or written to an existing empty layer that has a custom schema defined. The ogr_proc() interface is basically a port of the ogr_layer_algebra utility in the GDAL Python bindings.