spatial-point-in-polygon
Installation
SKILL.md
Point in polygon
spatial.point-in-polygon on https://fittings.sh. One endpoint, deterministic compute.
Whether a coordinate falls inside a GeoJSON Polygon or MultiPolygon, honouring holes and reporting boundary hits.
The call
POST https://fittings.sh/v1/spatial/point-in-polygon
| Field | Type | Required | Notes |
|---|---|---|---|
point |
object | yes | {lat, lon} or GeoJSON [longitude, latitude] |
polygon |
object | yes | GeoJSON Polygon, MultiPolygon, Feature or bare ring, up to 20000 vertices |
ignoreBoundary |
boolean | no | Treat a point on an edge as outside. Defaults to false. |
Example input: