Boundary check
boundary_checkTest if {lat,lng} points lie inside polygons, compute convex hulls, and generate bounding boxes with antimeridian support. Solves geospatial boundary checks for accurate mapping.
Instructions
Point-in-polygon, convex hull and bounding box for {lat,lng} points; handles the antimeridian. A bounding box that crosses the antimeridian has minLng > maxLng (RFC 7946).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "boundary_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point | No | Point to test for point_in_polygon | |
| points | No | Points for convex_hull or bounding_box (1-5000) | |
| polygon | No | Polygon vertices in order as {lat,lng} objects (3-5000). Closing vertex optional; no holes | |
| operation | Yes | point_in_polygon needs point + polygon; convex_hull and bounding_box need points |