gEnclosedCentroid: Return polygons whose centroids are enclosed

Description Usage Arguments Details Examples

Description

We want to return the reference polygons whose centroids are contained within a larger, containing polygon

Usage

1
gEnclosedCentroid(container, reference)

Arguments

container

The single polygon that will enclose the set of reference polygons

reference

The set of polygons that will be selected down to the containing polygon

Details

Note: all inputs should be of class sp::SpatialPolygons|Points

Examples

1
gEnclosedCentroid(drivetime, block_groups)

townleym/mSpatial documentation built on May 31, 2019, 6:46 p.m.