intersection: intersection

View source: R/Intersection.R

intersectionR Documentation

intersection

Description

Computes an Intersection

Usage

intersection(
  features1,
  features2,
  gmlIdAttributeName = c("gml_id", "gml_id"),
  areaCRS = NULL
)

Arguments

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.

Value

an object of class "Spatial"

Note

only supported for GML 2

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com Norbert Billet norbert.billet@ird.fr


openfigis/RFigisGeo documentation built on Feb. 26, 2023, 6:37 a.m.