misc-over: Find spatial join or intersections

Description Usage Arguments Value Note Author(s) Examples

Description

Find spatial join or intersections

Usage

1
2
overGeomGeom(x, y, returnList = FALSE, fn = NULL, ..., minDimension = -1)
overGeomGeomDF(x, y, returnList = FALSE, fn = NULL, ..., minDimension = -1)

Arguments

x

see over

y

see over

returnList

see over

fn

see over

...

see over

minDimension

integer; if -1, gIntersects is used to find geometry intersections; if 0, 1 or 2, gRelate is used. if gRelate is used, intersecting geometries are ordered by the dimension of the intersection (2: area overlap; 1: line in common; 0: point in common), and minDimension determines the mininum dimension of intersection required.

Value

see over

Note

gRelate (minDimension > -1) is likely to be substantially slower than gIntersects.

Author(s)

Edzer Pebesma

Examples

1
2
3
4
p1 = readWKT("POLYGON((0 1,0.95 0.31,0.59 -0.81,-0.59 -0.81,-0.95 0.31,0 1))")
p2 = readWKT("POLYGON((2 2,-2 2,-2 -2,2 -2,2 2),(1 1,-1 1,-1 -1,1 -1,1 1))")

overGeomGeom(p1,p2)

rgeos documentation built on Dec. 15, 2021, 1:07 a.m.

Related to misc-over in rgeos...