Skip to content
HALOWERK

Geodata Tools

gpx track distance markers

GPX equal-distance markers split the recorded track into a chosen number of intervals. Use it when an agent needs a compact set of regularly spaced waypoints.

POST https://geo.halowerk.com/v1/gpx-track-distance-markers

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
gpxstringYes
intervalsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "gpx": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "intervals": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    }
  },
  "required": [
    "gpx",
    "intervals"
  ],
  "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>",
  "intervals": 2
}

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 โ†’