mapbox

mapbox/which-polygon

Index for matching points against a set of GeoJSON polygons

JavaScript
133
14
ISC License

Which-polygon is a JavaScript library that efficiently matches points or bounding boxes against a set of GeoJSON polygons to determine which polygon(s) they belong to. It's designed for developers working with geographic data who need to quickly identify relationships between locations and polygonal regions, such as determining which country a point falls within or finding all regions intersected by a given area.

Total donated
Undistributed
Share with your subscribers: