Skip to content
HALOWERK

Geowerk

spherical arc nearest point

Return the nearest point on a short great-circle arc and its cross-track separation.

POST https://geo.halowerk.com/v1/spherical-arc-nearest-point

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
startReferenceYes
endReferenceYes
pointReferenceYes
Show full input schema
{
  "type": "object",
  "properties": {
    "start": {
      "$ref": "#/$defs/s0"
    },
    "end": {
      "$ref": "#/$defs/s0"
    },
    "point": {
      "$ref": "#/$defs/s0"
    }
  },
  "required": [
    "start",
    "end",
    "point"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:B5:input",
  "$defs": {
    "s0": {
      "type": "object",
      "properties": {
        "lat": {
          "$ref": "#/$defs/s1"
        },
        "lon": {
          "$ref": "#/$defs/s2"
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false
    },
    "s1": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "s2": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    }
  }
}

Open original schema

Published input example

{
  "start": {
    "lat": 0,
    "lon": 0
  },
  "end": {
    "lat": 0,
    "lon": 90
  },
  "point": {
    "lat": 30,
    "lon": 45
  }
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’