Description Usage Arguments Details Examples
Kinda like gEnclosedArea
1 | mGetIntersecting(container, reference)
|
container |
A |
reference |
A |
centroids |
A set of centroids for the reference polygons obtained by |
Returns all the reference polygons from a SpatialPolygonsDataFrame that intersect with a container. Adds an attribute to the @data slot with the percent of overlapping area.
This function uses name matching / extraction. It's a kludge and often fails. use gPolyByIntersect
instead. Preserved for existing code that uses it.
Note: all inputs should be of class sp::SpatialPolygons|Points
1 | gPolyByCentroid(blockgroups, sp::gCentroid(blockgroups, byid = T), cbsa)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.