Skip to content

City Name

Type Registry

City Name

geography.location.city

Name of a city, town, or municipality. Locale-specific due to city name representation in different languages.

Domain geographylocation
Casts to VARCHAR
Scope Locale-specific
Locales EN, EN_AU, EN_GB, EN_CA, EN_US, DE, FR, ES, IT, NL, PL, PT_BR, RU, JA, ZH, KO, AR, HI, TR

Try it

CLI
$ finetype infer -i "New York"
→ geography.location.city

DuckDB

Detect
SELECT finetype('New York');
-- → 'geography.location.city'
Cast expression
CAST({col} AS VARCHAR)
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'geography.location.city';

JSON Schema

finetype schema geography.location.city
{
  "$id": "https://noon.sh/schemas/geography.location.city",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Name of a city, town, or municipality. Locale-specific due to city name representation in different languages.",
  "examples": [
    "New York",
    "San Francisco",
    "London",
    "Tokyo",
    "Paris"
  ],
  "maxLength": 100,
  "minLength": 1,
  "title": "City Name",
  "type": "string"
}

Examples

New YorkSan FranciscoLondonTokyoParis

Also known as

municipalitytown

Types in geography