Skip to content
HALOWERK

Geodata Tools

gpx track closure gap

GPX circuit closure measures the endpoint gap relative to recorded length and a supplied tolerance. Use it when an agent needs validating a proposed loop.

POST https://geo.halowerk.com/v1/gpx-track-closure-gap

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
gpxstringYes
tolerance_mnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "gpx": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "tolerance_m": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    }
  },
  "required": [
    "gpx",
    "tolerance_m"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "gpx": "<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" version=\"1.1\" creator=\"HALOWERK\"><trk><trkseg><trkpt lat=\"52.5163\" lon=\"13.3777\"/><trkpt lat=\"52.5186\" lon=\"13.3762\"/><trkpt lat=\"52.5187\" lon=\"13.3694\"/></trkseg></trk></gpx>",
  "tolerance_m": 50
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’