City Name
Name of a city, town, or municipality. Locale-specific due to city name representation in different languages.
City Name
geography.location.cityName of a city, town, or municipality. Locale-specific due to city name representation in different languages.
Domain
geography
Category
location
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.cityDuckDB
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://meridian.online/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",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}Examples
New YorkSan FranciscoLondonTokyoParisAliases
municipalitytown