geo_geojson
GeoJSON stats + validator — Measure and validate GeoJSON offline. Required: geojson= (inline GeoJSON text: FeatureCollection, Feature or bare geometry, up to 200,000 characters). Optional: url= instead of geojson= to analyze a hosted .geojson file (up to 6 MB). Returns feature count, geometry type counts, vertex count, bbox and center, geodesic area (m2, km2, hectares, acres, square miles; holes subtracted; same spherical formula as Turf.js), line length and polygon perimeter (haversine), per-feature stats (first 100, with name/id), property keys, and an RFC 7946 validation report: invalid positions, latitude out of range with a lat/lon-swapped hint, unclosed rings, rings under 4 positions, winding order, self-intersecting rings, duplicate points, null geometries, legacy crs member. valid=true means no errors (warnings allowed). Price: $0.004 USDC (Base, via x402).
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": {
"geojson": "<geojson>"
},
"name": "geo_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes | {"type":"Feature","properties":{"name":"Centennial Park block"},"geometry":{"type":"Polygon","coordinates":[[[-86.8136,36.1497],[-86.8080,36.1497],[-86.8080,36.1530],[-86.8136,36.1530],[-86.8136,36.1497]]]}} |