validate_aoi
Measure and validate GeoJSON polygons locally: geodesic area, bounding box, edge lengths, ring closure, and transposed coordinate detection, without an API call.
Instructions
Measure a GeoJSON area of interest locally: geodesic area in km2 and square miles, bounding box, edge lengths, ring closure, and whether the coordinates look transposed. Costs nothing and makes no API call. It reports only - no size limit is applied, because limits vary by plan.
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": {
"polygon_aoi": "<polygon_aoi>"
},
"name": "validate_aoi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polygon_aoi | Yes | GeoJSON FeatureCollection, Feature, Polygon or MultiPolygon. |