Points in boundary
contains_pointsTests up to 10,000 points ([lon, lat] pairs) against one boundary and returns a boolean per point plus the inside count. Use it for geofencing, service-area checks and filtering customer lists. Costs 1 unit per 1,000 points. Needs an API key or a connected account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Boundary id: r<OSM relation id> (e.g. r62422 for Berlin) or w<way id>. Also accepts R62422, relation/62422, -62422, an openstreetmap.org URL, wikidata:Q64 or iso:US-CA. | |
| points | Yes | Points as [lon, lat] (GeoJSON order). |