over | R Documentation |
Find spatial join or intersections
overGeomGeom(x, y, returnList = FALSE, fn = NULL, ..., minDimension = -1)
overGeomGeomDF(x, y, returnList = FALSE, fn = NULL, ..., minDimension = -1)
x |
see over |
y |
see over |
returnList |
see over |
fn |
see over |
... |
see over |
minDimension |
integer; if |
see over
gRelate (minDimension
> -1) is likely to be substantially slower than
gIntersects.
Edzer Pebesma
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.