View source: R/RSAGA-modules.R
rsaga.union.polygons | R Documentation |
The function rsaga.union.polygons
uses SAGA function
"Union
" to calculate the geometric union of two polygon layers. This
corresponds to the intersection and the symmetrical difference of the two
layers.
rsaga.union.polygons( layer_a = NULL, layer_b = NULL, result = NULL, split = FALSE, load = NULL, env = rsaga.env() )
layer_a |
A |
layer_b |
A |
result |
|
split |
If |
load |
Deprecated, will be removed in a future release. Ignored
if |
env |
RSAGA geoprocessing environment created by
|
Function gUnion()
in rgeos
package can also be used for joining
intersecting polygon geometries. However,
rsaga.union.polygons()
will be usually much faster,
especially when joining thousands of polygons.
The function saves the output shapefile to the path indicated in
function argument result
.
Jannes Muenchow and Alexander Brenning (R interface), Olaf Conrad and Angus Johnson (SAGA modules)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.