Skip to content
HALOWERK

Geodata Tools

gpx track length concentration

GPX sampling concentration finds the fraction of track length represented by its longest legs. Use it when an agent needs detecting sparse sampling.

POST https://geo.halowerk.com/v1/gpx-track-length-concentration

Inputs

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

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