get the intersection between to maps with ids. Caches the result in the working directory.
getIntersection(
inputShape,
outputShape,
suffix = c(".x", ".y"),
recalcArea = TRUE,
...
)
- the input sf
- the output sf
- the suffix of any duplicated columns as per dplyr::inner_join()
- do you need the area of the intersected shape (e.g. for areal interpolation)
passed on to .cached() (cache control) - relevant is nocache = TRUE which prevents this from being precalculated
a sf object representing the intersection of the input and output shapes.