Skip to content
HALOWERK

Geowerk

spherical track intersections

Return the two antipodal intersections of supplied great-circle tracks.

POST https://geo.halowerk.com/v1/spherical-track-intersections

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
firstReferenceYes
secondReferenceYes
Show full input schema
{
  "type": "object",
  "properties": {
    "first": {
      "$ref": "#/$defs/s0"
    },
    "second": {
      "$ref": "#/$defs/s0"
    }
  },
  "required": [
    "first",
    "second"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:B6:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 2,
      "minItems": 2
    },
    "s1": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "lon": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false
    }
  }
}

Open original schema

Published input example

{
  "first": [
    {
      "lat": 0,
      "lon": 0
    },
    {
      "lat": 0,
      "lon": 90
    }
  ],
  "second": [
    {
      "lat": -45,
      "lon": 45
    },
    {
      "lat": 45,
      "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 โ†’