Skip to main content
DocsCML Reference

CML — Geo types reference

Add geo_type to any attribute to enable map visualizations in Discover.

All geo_type values

ValueDescriptionExample data
latitudeDecimal latitude coordinate40.7128
longitudeDecimal longitude coordinate-74.0060
country_nameFull country name (English)"United States"
country_codeISO 2 or ISO 3 country code"US", "USA"
cityCity name"New York"
state_usUS state full name"California"
state_codeUS state 2-letter abbreviation"CA"
zip_codeUS or international postal code"10001"
dmaNielsen DMA region name"New York"

Usage

attributes:
- name: country
type: string
geo_type: country_name

- name: lat
type: float
geo_type: latitude

- name: lng
type: float
geo_type: longitude

Auto-detection rules

If geo_type is omitted, Celiq auto-detects it from the column name. Annotating explicitly ensures correct behaviour even when column names are non-standard.

See Forge → Geo types → for the full detection patterns.