Learn

What Is a Geographic Identifier?

A geographic identifier is a code or identifier used to refer to a geographic entity within a defined namespace; unlike a display name, it is intended to support stable identity and joins.

Geobble

Explain identifiers, namespaces, stability and versioning without implying that codes are permanent or globally unique outside their authority.

What Is a Geographic Identifier?

A geographic identifier is a code or other identifier used to refer to a geographic entity inside a defined authority or namespace. It can identify a country, administrative area, road segment, place, parcel or another geographic object without relying on its display name.

Identifiers are especially useful for joins because names change, repeat and vary across languages.

Identifier, name and geometry are different things

A place can have:

  • one or more names;

  • one or more geometries across versions or scales;

  • one identifier within a particular code system.

Those roles should not be collapsed.

A municipality can be renamed while retaining an identifier, and its boundary can be updated while that identifier still refers to the same administrative entity. Conversely, a major administrative reform can retire the old identifier and create new ones even when some names remain similar.

An identifier needs a namespace

The string 001 is not globally meaningful by itself.

It becomes meaningful when paired with the authority and code system that defines it, since the same code can exist in multiple countries or datasets with entirely different meanings.

A robust identifier therefore includes contextual metadata such as:

  • issuing authority;

  • code-system name;

  • version/date;

  • geographic level;

  • identifier value.

When possible, store or document the namespace explicitly rather than assuming everyone knows what the code means.

Stable does not mean permanent

Good geographic identifiers are designed to remain stable while ordinary labels change, but real-world geography also changes as administrative areas merge, split, are abolished or move between parent units. An identifier system may respond by:

  • retiring a code;

  • creating successor codes;

  • preserving a code with updated geometry;

  • publishing crosswalks between versions.

For longitudinal analysis, record the identifier version and effective date rather than assuming the same code has always represented the same extent.

Why identifiers improve joins

Names are weak join keys because they can differ by spelling, language, punctuation and abbreviations.

An authoritative identifier provides a more explicit key:

statistics.admin_id = boundaries.admin_id

That does not eliminate all problems, because the two datasets still need compatible code-system versions and geographic definitions. Even so, identifier joins are usually more auditable than fuzzy name matching.

Numeric-looking identifiers should often be stored as text

Codes such as 0037 may contain only digits while still being identifiers rather than quantities. If software converts them to numbers, leading zeros disappear and joins can fail, so store canonical identifiers as strings unless the code specification explicitly defines another representation.

See Why Are Leading Zeros Missing from Geographic Codes?.

Identifiers can connect names, geometry and time

A useful geographic reference table can treat the identifier as the central key and attach:

  • canonical and alternate names;

  • geometry or geometry version;

  • parent identifier;

  • feature type;

  • valid-from/valid-to dates;

  • successor/predecessor relationships.

That makes the code more than a join convenience. It becomes a way to track the identity of a place through changing representations.

Do not invent identifiers from names unless they are explicitly local

A slug such as central-region can be useful inside one application, but it should not be confused with an authoritative geographic identifier. If you create local IDs, document the namespace and ensure uniqueness, while keeping authoritative external codes separately rather than overwriting them.

A geographic identifier is a claim about identity

The value matters because some authority or system defines what entity it refers to. Used with its namespace and version, it gives datasets a stable basis for joins and change tracking that names alone cannot provide.

The safest practice is therefore to preserve identifier + authority + version, not just a bare code column.

Related content