← Back to directory

Test points against GeoJSON service zones with holes, reporting inside/in-hole s...

https://www.brainiac.software/api/v1/route-optimization/geofence-check

Overview

Test points against GeoJSON service zones with holes, reporting inside/in-hole status and nearest boundary distance. Docs: https://www.brainiac.software/api/route-optimization/geofence-check

Protocol x402 (POST)
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Geofence Point-in-polygon Check
Source bazaar
Indexed 2026-11-24 19:01:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "points": [ { "id": "p1", "lat": 0.2, "lon": 0.2 }, { "id": "p2", "lat": 0.5, "lon": 0.5 }, { "id": "p3", "lat": 0.5, "lon": 1.5 } ], "zones": { "features": [ { "geometry": { "coordinates": [ [ [ 0, 0 ], [ 0, 1 ], [ 1, 1 ], [ 1, 0 ], [ 0, 0 ] ], [ [ 0.4, 0.4 ], [ 0.4, 0.6 ], [ 0.6, 0.6 ], [ 0.6, 0.4 ], [ 0.4, 0.4 ] ] ], "type": "Polygon" }, "properties": { "id": "zone1" }, "type": "Feature" } ], "type": "FeatureCollection" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "GeoJSON RFC 7946 point-in-polygon (even-odd) with holes; boundary distance uses great-circle cross-track formulas.", "Outputs are route and delivery calculations for human review. They are not legal, customs, tax, medical or identity det" ], "results": [ { "inside": [ "zone1" ], "nearestBoundaryM": 22238.88, "point": "p1" }, { "inHoleOf": [ "zone1" ], "inside": [], "nearestBoundaryM": 11119.08, "nearestZone": "zone1", "point": "p2" } ], "sources": [ { "retrievedAt": "2026-11-14", "source": "Caller-supplied coordinates or distance/duration matrices processed locally", "status": "ok", "url": "https://www.brainiac.software/api/v1/route-optimization" } ] }, "type": "json" }