Skip to content
HALOWERK

Mobility, Warnings and Local Data

terrain profile straight grade deviation

Terrain profile deviation returns the largest vertical offset from a constant grade connecting both endpoints. Use it when an agent needs the most pronounced crest or sag relative to the end-to-end grade.

POST https://ort.halowerk.com/v1/terrain-profile-straight-grade-deviation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
coordinatesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "coordinates": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -100000000,
          "maximum": 100000000
        },
        "maxItems": 3,
        "minItems": 3
      },
      "maxItems": 160,
      "minItems": 2
    }
  },
  "required": [
    "coordinates"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "coordinates": [
    [
      2600000,
      1200000,
      555.5
    ],
    [
      2600250,
      1199850,
      539.5
    ],
    [
      2600500,
      1199700,
      541.4
    ],
    [
      2600750,
      1199550,
      540
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’