← Back to directory

Detect when a GPS track enters and exits polygon geofences, with crossing times ...

https://ort.halowerk.com/v1/geofence-events

Overview

Detect when a GPS track enters and exits polygon geofences, with crossing times interpolated on the boundary, pass-throughs between fixes, dwell times and per-fence summaries. Takes a track (GPX or point list with optional timestamps) and polygon fences (GeoJSON Feature/FeatureCollection with Polygon or MultiPolygon; id from feature id, properties.id or properties.name). For each fix the inside state is computed with turf booleanPointInPolygon (boundary counts as inside).

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider ort
Source bazaar
Indexed 2026-11-21 00:09:35

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": { "fences": { "geometry": { "coordinates": [ [ [ 7, 52 ], [ 7.01, 52 ], [ 7.01, 52.01 ], [ 7, 52.01 ], [ 7, 52 ] ] ], "type": "Polygon" }, "id": "hof", "properties": {}, "type": "Feature" }, "points": [ { "lat": 52.005, "lon": 6.995, "time": "2026-10-01T10:00:00Z" }, { "lat": 52.005, "lon": 7.005, "time": "2026-10-01T10:01:00Z" } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Crossing positions are interpolated on straight lon/lat segments between fixes.", "Without timestamps events carry only the point index." ], "result": { "events": [ { "fence": "hof", "interpolated": true, "lat": 52.005, "lon": 7, "point_index": 1, "time": "2026-10-01T10:00:30.000Z", "type": "enter" } ], "fences": [ { "fence": "hof", "inside_at_end": true, "inside_at_start": false, "total_dwell_s": 0, "visits": 1 } ], "fixes": 2, "timestamps": true, "visits": [ { "dwell_s": null, "enter": "2026-10-01T10:00:30.000Z", "exit": null, "fence": "hof", "still_inside": true } ] }, "service": "geofence-events", "status": "success" }, "type": "json" }