Skip to content
HALOWERK

Mobility, Warnings and Local Data

wgs84 sphere distance model difference

Great-circle distance returns km, miles or nautical miles and the difference from an ellipsoid solution. Use it when an agent needs a distance with the model difference.

POST https://ort.halowerk.com/v1/wgs84-sphere-distance-model-difference

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lat1numberYes
lon1numberYes
lat2numberYes
lon2numberYes
unitSee schemaNo
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
    },
    "unit": {
      "enum": [
        "km",
        "mi",
        "nm"
      ]
    }
  },
  "required": [
    "lat1",
    "lon1",
    "lat2",
    "lon2"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lat1": 52.3676,
  "lon1": 4.9041,
  "lat2": 48.8566,
  "lon2": 2.3522,
  "unit": "km"
}

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