View source: R/spatial_manipulation.R
rgeos.intersect | R Documentation |
This uses rgeos::ginstersect
and assumes that the row names in both spdf1
and spdf2
DO NOT HAVE SPACES.
rgeos.intersect(spdf1, spdf2, crs = NULL)
spdf1 |
Spatial polygons data frame. One of the two set of polygons to intersect. If |
spdf2 |
Spatial polygons data frame. |
crs |
Optional |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.