Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46426

this analysis process creates a new layer with the features of either one of the original layers, but the new layer does not include the areas where both of the layers existed. The symmetrical difference operation performs the opposite task of the intersect tool, and must use two polygon features in its analysis.

5 votes

Removing intersect of one polygon from another using R?

The solution using rgeos::gDifference is much faster, but it returns a simple SpatialPolygons object. If you are working with two SpatialPolygonsDataFrames and you want to keep the dataframe informat …
rafa.pereira's user avatar
  • 1,277