Ortwerk
gpx analyze
Parses GPX 1.0/1.1 tracks (or routes) segment by segment, or a point list. Distance: Vincenty inverse on WGS84 per point pair (haversine with the IUGG mean radius 6,371,008.8 m reported alongside), plus 3D distance when elevations exist. Elevation: raw gain/loss and gain/loss after a centred moving average (smoothing_window points) with a hysteresis threshold. Pauses: consecutive point pairs slower than pause_speed_kmh (and gaps between segments) lasting at least min_pause_s. Max speed uses.
POST https://ort.halowerk.com/v1/gpx-analyzeInputs
| Field | Type | Required | Description |
|---|---|---|---|
| gpx | string | No | GPX 1.0/1.1 document text. |
| points | array | No | Alternative to gpx: ordered track points. |
| smoothing_window | integer | No | Points in the centred moving average applied to elevations (1 = none). |
| elevation_threshold_m | number | No | Hysteresis threshold for counting smoothed climbs and descents. |
| pause_speed_kmh | number | No | Below this speed a point pair counts as stopped. |
| min_pause_s | integer | No | Minimum duration of a stop to be reported as pause. |
| max_speed_window_s | integer | No | Time window for the maximum speed. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"gpx": {
"type": "string",
"maxLength": 6000000,
"description": "GPX 1.0/1.1 document text."
},
"points": {
"type": "array",
"minItems": 2,
"maxItems": 200000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in WGS84 degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in WGS84 degrees."
},
"ele": {
"type": "number",
"minimum": -500,
"maximum": 9000,
"description": "Elevation in metres (optional)."
},
"time": {
"type": "string",
"maxLength": 40,
"description": "ISO 8601 timestamp (optional)."
}
}
},
"description": "Alternative to gpx: ordered track points."
},
"smoothing_window": {
"type": "integer",
"minimum": 1,
"maximum": 51,
"default": 5,
"description": "Points in the centred moving average applied to elevations (1 = none)."
},
"elevation_threshold_m": {
"type": "number",
"minimum": 0,
"maximum": 20,
"default": 2,
"description": "Hysteresis threshold for counting smoothed climbs and descents."
},
"pause_speed_kmh": {
"type": "number",
"minimum": 0,
"maximum": 10,
"default": 1.5,
"description": "Below this speed a point pair counts as stopped."
},
"min_pause_s": {
"type": "integer",
"minimum": 5,
"maximum": 86400,
"default": 60,
"description": "Minimum duration of a stop to be reported as pause."
},
"max_speed_window_s": {
"type": "integer",
"minimum": 1,
"maximum": 300,
"default": 10,
"description": "Time window for the maximum speed."
}
}
}Published input example
{
"gpx": "<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40</ele><time>2026-10-01T10:00:00Z</time></trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42</ele><time>2026-10-01T10:00:20Z</time></trkpt></trkseg></trk></gpx>"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Ortwerk0.01 USDC
area coverage
POSThttps://ort.halowerk.com/v1/area-coverageRuns one multi-source Dijkstra from all origins (Routing runs on HALOWERK's own graph of the German road and path network built from OpenStreetMap (Geofabrik germany-latest.osm.pbf, data until 2026-11-12, ODbL 1.0; 25 million nodes, edges a
- Ortwerk0.004 USDC
autobahn roadworks
POSThttps://ort.halowerk.com/v1/autobahn-roadworksFetches live roadworks (long- and short-term) and closures per motorway from the public Autobahn App API of Die Autobahn GmbH des Bundes (no key; https://verkehr.autobahn.de/o/autobahn). The free-text periods are parsed into concrete interv
- Ortwerk0.004 USDC
avalanche bulletin
POSThttps://ort.halowerk.com/v1/avalanche-bulletinFresh official WSL SLF CAAMLv6 JSON for one Swiss warning region, in de/en/fr/it with explicit actual-language fallback. Includes the complete unmodified bulletin, all elevation/aspect/time distinctions, publication and validity times, sour