Skip to content
HALOWERK

Mobility, Warnings and Local Data

gazetteer locality namesake distance

City name comparison finds the nearest other settlement with the same normalized name. Use it when an agent needs a stable place identity in a map dataset.

POST https://ort.halowerk.com/v1/gazetteer-locality-namesake-distance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
citystringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "snapshot": {
      "enum": [
        "5.1.2"
      ]
    }
  },
  "required": [
    "city"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "city": "Victoria|CAN",
  "snapshot": "5.1.2"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "other": {
          "type": [
            "string",
            "null"
          ]
        },
        "km": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "other",
        "km"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’