public class TurfGrids
extends java.lang.Object
Point, Polygon, or
other geometry in a grid.| Constructor and Description |
|---|
TurfGrids() |
| Modifier and Type | Method and Description |
|---|---|
static com.mapbox.services.commons.geojson.FeatureCollection |
within(com.mapbox.services.commons.geojson.FeatureCollection points,
com.mapbox.services.commons.geojson.FeatureCollection polygons)
Takes a
FeatureCollection of Point and a FeatureCollection of
Polygon and returns the points that fall within the polygons. |
public static com.mapbox.services.commons.geojson.FeatureCollection within(com.mapbox.services.commons.geojson.FeatureCollection points,
com.mapbox.services.commons.geojson.FeatureCollection polygons)
FeatureCollection of Point and a FeatureCollection of
Polygon and returns the points that fall within the polygons.points - input points.polygons - input polygons.