intersection | R Documentation |
Computes an Intersection
intersection( features1, features2, gmlIdAttributeName = c("gml_id", "gml_id"), areaCRS = NULL )
features1 |
a first sp object |
features2 |
a second sp object |
gmlIdAttributeName |
specific to GML, names of the ID attributes for each features, by default c("gml_id", "gml_id") |
areaCRS |
a CRS object used as reference for area calculation. If no value is provided, take the current CRS. If NA is provided there no area computation. |
an object of class "Spatial"
only supported for GML 2
Emmanuel Blondel emmanuel.blondel1@gmail.com Norbert Billet norbert.billet@ird.fr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.