Skip to content
HALOWERK

Mobility, Warnings and Local Data

wgs84 equal length route subdivision

Geodesic subdivision returns equal-length leg intervals and their interior WGS84 boundaries. Use it when an agent needs to split a route segment into equally spaced sampling legs.

POST https://ort.halowerk.com/v1/wgs84-equal-length-route-subdivision

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lat1numberYes
lon1numberYes
lat2numberYes
lon2numberYes
piecesintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lat1": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon1": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "lat2": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon2": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "pieces": {
      "type": "integer",
      "minimum": 2,
      "maximum": 16
    }
  },
  "required": [
    "lat1",
    "lon1",
    "lat2",
    "lon2",
    "pieces"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lat1": 52.3676,
  "lon1": 4.9041,
  "lat2": 48.8566,
  "lon2": 2.3522,
  "pieces": 2
}

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