GeoNames analysis workflow: gazetteer data for geographic search, joins, and spatial analysis

GeoNames is an open global geographical database and gazetteer containing place names, alternate names, coordinates, feature classifications, administrative codes, population, elevation, time zones, and related reference tables. This analysis workflow explains how to download and normalize GeoNames data, select the right extract, build searchable place indexes, connect names to coordinates and administrative hierarchy, and use the results in GIS and location-data applications. GeoNames is valuable as a global naming and geographic-reference layer, but it should not be treated as a complete road network, parcel database, address registry, or authoritative source for every local feature.

GeoNames is most useful when the analytical problem begins with a name, place identifier, coordinate, or geographic hierarchy. It provides a common gazetteer layer for converting human place references into structured geographic records: a city name into a coordinate, a historical or local name into a modern place, a feature into a country and administrative division, or a point into a nearby populated place. The project states that its database covers all countries, combines data from more than one hundred sources, and makes a daily database extract available alongside web services. The practical implication is that GeoNames can be used as a reference system for finding and organizing places before more detailed spatial data is joined.

How EDK fits

For: GIS analysts, geocoders, data engineers, researchers, cartographers, location-intelligence teams, and developers building search, place lookup, map-labeling, geographic normalization, or spatial-analysis workflows.

GeoNames is a useful example of the gazetteer layer required to make the physical world searchable. Its records connect names, alternate names, feature types, coordinates, administrative codes, population, elevation, and time zones. That makes it a natural input when a broader world model must resolve a human geographic reference before computing over roads, buildings, infrastructure, environmental features, public assets, or other spatial layers. GeoNames does not replace those richer layers: it is primarily a place-name and geographic-reference dataset. In an E2-oriented workflow, GeoNames could help normalize a query such as a city, mountain, lake, neighborhood, or historical name into a geographic entity, after which other location data can be filtered, ranked, compared, aggregated, or measured around that entity. This is a conceptual relationship, not a claim that GeoNames itself supplies every downstream feature or analysis capability.

  • •Use GeoNames identifiers, names, alternate names, coordinates, and administrative codes as a gazetteer input for resolving place references before searching a broader world model of physical features.
  • •Use GeoNames places as geographic anchors for computation: compare nearby infrastructure or public assets, aggregate observations by named regions, rank features by proximity to a place, or organize analysis by country and administrative hierarchy.
  • •Use the GeoNames feature class and feature code fields to distinguish populated places, administrative areas, hydrographic features, roads, natural features, and other named geographic objects before combining them with more detailed GIS layers.
Dataset type
Global gazetteer and open geographical reference database
Geographic scope
Worldwide, with country-specific and global extracts
Core coordinate reference
WGS84 latitude and longitude
Primary bulk format
UTF-8 tab-delimited text in ZIP archives
Identifier
geonameid
License
Creative Commons Attribution 4.0; GeoNames states commercial use is allowed

Dataset profile

license
Creative Commons Attribution 4.0 according to the official readme and project pages. GeoNames states that commercial use is allowed and attribution is required. Review underlying-source and service-specific terms for particular deployments.
geography
Global; GeoNames states that the database covers all countries. Country-specific files and worldwide extracts are available. Coverage density and completeness vary by country, source, and feature class.
resolution
Point-based gazetteer records with named geographic features. The dataset includes coordinates and classifications, but it is not a uniform-resolution surface, road, parcel, address, or building-footprint dataset.
update cadence
GeoNames documents a daily worldwide database extract plus daily modification and deletion files for incremental synchronization.
temporal coverage
Current records include a modification date. Historical names may include from and to fields in AlternateNamesV2. The dataset is not a uniform time series and does not establish that every attribute is current.

Formats

ZIP archives containing UTF-8, tab-delimited text.

allCountries.zip worldwide gazetteer extract.

Country-specific XX.zip extracts.

cities500.zip, cities1000.zip, cities5000.zip, and cities15000.zip city subsets.

alternateNamesV2.zip and supporting language-code files.

Administrative code, country information, feature-code, time-zone, hierarchy, tag, and change files.

Simplified country-boundary GeoJSON files documented in the extract readme.

REST web services returning XML or JSON; selected services also document RDF, CSV, TXT, or other response forms.

Access methods

Download bulk extracts from the official GeoNames download server.

Use the official REST web services with a registered username and documented request parameters.

Use daily modification and deletion files to synchronize a local database.

Use official documentation and community client libraries as implementation references, while independently evaluating third-party libraries.

Use the web interface for search, browsing, map display, and community corrections.

Quality and limits

GeoNames explicitly provides data as-is without a warranty or representation of accuracy, timeliness, or completeness.

The project aggregates many sources and permits community edits, so provenance and quality can differ across records.

Global coverage is not uniform coverage; country, language, postal-code, administrative, and feature-type completeness vary.

Names can be ambiguous, duplicated, transliterated, historical, colloquial, or associated with multiple feature types.

Coordinates should not automatically be interpreted as exact address points, legal centroids, survey-grade positions, or current physical locations.

The main gazetteer is not a substitute for authoritative road routing, cadastral parcels, official boundaries, current addresses, or detailed physical-feature inventories.

Free web services have documented daily and hourly credit limits and depend on network availability.

Analysis workflows

Gazetteer normalization: load geonameid, primary names, alternate names, language codes, country codes, administrative codes, feature classes, and feature codes; build exact, prefix, and fuzzy indexes.

Multilingual place search: rank preferred and exact names before fuzzy alternatives, use language and country constraints, and return candidate records for ambiguous names.

Administrative enrichment: join administrative code tables and hierarchy relationships to place records, then validate against the intended boundary dataset before aggregation.

Spatial anchoring: convert GeoNames coordinates to a projected CRS for distance and buffer calculations, then join nearby roads, buildings, services, environmental observations, or other physical-world layers.

Change synchronization: ingest the daily modification and deletion files into a local copy, retain extract and record dates, and periodically rebuild or reconcile indexes.

Map labeling and lookup: use feature classes, codes, population, and multilingual names to select labels by scale, context, and language.

Quality control: sample records by country and feature class, check coordinate ranges and code consistency, compare important results with authoritative local sources, and document unresolved ambiguity.

World-model integration: use GeoNames as a naming and geographic-reference layer that helps resolve a place before broader location datasets are searched, filtered, ranked, compared, or aggregated.

Value inside EDK

What GeoNames contains

The central GeoNames gazetteer table assigns each record a geonameid and includes a primary name, an ASCII name, alternate-name text, latitude, longitude, feature class, feature code, country code, alternate country codes, administrative division codes, population, elevation, a digital-elevation-model value, an IANA time-zone identifier, and a modification date. Coordinates are expressed in WGS84. The feature taxonomy separates broad classes such as administrative areas, hydrography, populated places, transportation features, spots and buildings, terrain, undersea features, and vegetation, with more detailed feature codes supplied separately. (download.geonames.org)

GeoNames also distributes related tables and extracts. AlternateNamesV2 adds language and variant information, including preferred, short, colloquial, historic, and time-bounded names. Other files provide administrative-code labels, language codes, feature-code descriptions, time zones, country information, user tags, and hierarchy relationships. Simplified country-boundary GeoJSON files are also documented, but these should not be confused with a comprehensive global boundary or cadastral product. (download.geonames.org)

  • •Primary gazetteer records with stable GeoNames identifiers.
  • •Names, ASCII transliterations, multilingual and historical alternate names.
  • •Coordinates, feature classes, feature codes, administrative codes, population, elevation, DEM values, and time zones.
  • •Separate files for hierarchy, country information, administrative labels, language codes, tags, and change tracking.

Geography, temporal coverage, and update cadence

GeoNames is global in intended geographic scope: the project describes coverage of all countries and more than eleven million placenames on its current home page. The database is not limited to one national schema, so feature density, name completeness, administrative coding, postal-code detail, and source quality can vary substantially by country and feature type. (geonames.org)

The official download documentation describes a daily worldwide extract, allCountries.zip, together with country-specific files and smaller city extracts such as cities500, cities1000, cities5000, and cities15000. The readme also documents modifications and deletes files for the previous day, which can be used to synchronize a local copy rather than rebuilding the entire database every day. (geonames.org)

  • •Geographic scope: worldwide, with country-level and global extracts.
  • •Published cadence: a daily database extract is documented by GeoNames.
  • •Incremental synchronization: daily modification and deletion files are documented.
  • •Temporal caution: record modification dates do not establish that every attribute is current or authoritative.

Formats and access methods

The principal bulk format is UTF-8, tab-delimited text inside ZIP archives. The worldwide allCountries.zip file contains the main gazetteer table; country files provide smaller geographic extracts. Separate ZIP or text files support alternate names, administrative codes, feature codes, time zones, country information, hierarchy, user tags, and other reference data. GeoNames also documents simplified country-boundary files in GeoJSON form. (download.geonames.org)

For application access, GeoNames provides REST web services with XML and JSON options for search, place lookup, reverse geocoding, nearby features, country and subdivision lookup, hierarchy, postal codes, time zones, weather stations, and other services. The search service supports full-text, exact-name, prefix, fuzzy, language, bounding-box, and paging parameters. API use requires a registered username, and the public service documentation states that free applications are subject to daily and hourly credit limits. (geonames.org)

  • •Bulk: ZIP archives containing UTF-8, tab-delimited text.
  • •Service: REST endpoints with XML and JSON responses, plus RDF for selected services.
  • •Operational access: registered username required for web services; documented free-service credit limits apply.
  • •GIS interchange: GeoJSON is documented for simplified country shapes, while the main gazetteer is tabular rather than a full vector basemap.

A defensible GeoNames analysis workflow

Start by defining the analytical role of GeoNames. If the task is multilingual name resolution, load the main gazetteer and AlternateNamesV2. If the task is city-level analysis, a cities extract may be sufficient. If the task depends on administrative hierarchy, load the relevant administrative-code files and hierarchy relationships rather than inferring parentage from display names alone. Record the download date, source URL, archive name, and file checksum where reproducibility matters.

Next, parse the tab-delimited files with explicit UTF-8 handling and preserve the GeoNames identifier as an integer or lossless string. Load latitude and longitude as WGS84 coordinates, but transform them into a suitable projected coordinate reference system before distance, area, buffer, or density calculations. Do not use raw decimal-degree differences as if they were meters. Validate duplicate names, null coordinates, unexpected feature codes, and country or administrative-code mismatches before joining to other layers.

  • •Select the extract and related tables that match the task instead of loading every file by default.
  • •Preserve source vintage, download date, modification date, feature code, and geonameid.
  • •Use WGS84 for interpreting source coordinates and a suitable projected CRS for metric calculations.
  • •Resolve names with language, country, hierarchy, and spatial context; do not rely on string matching alone.
  • •Validate important outputs against authoritative local or domain-specific data.

License, strengths, and tradeoffs

GeoNames states that its work is licensed under Creative Commons Attribution 4.0 and that commercial use is allowed under its terms. Users should provide attribution to GeoNames, and they must also consider the licensing and restrictions associated with underlying source material where applicable. The project’s terms further state that data and free web services are provided as-is, without a warranty of accuracy, timeliness, or completeness. (download.geonames.org)

  • •Strength: global breadth and a consistent identifier-and-feature-code structure make GeoNames useful for cross-country geographic normalization.
  • •Strength: multilingual, alternate, historical, and colloquial names support search and place resolution beyond a single official label.
  • •Strength: bulk extracts, APIs, and daily change files support both local analytical pipelines and interactive applications.
  • •Tradeoff: coverage and quality are uneven across countries, feature classes, and source systems; global availability does not mean uniform completeness.
  • •Tradeoff: the gazetteer is not a replacement for authoritative addresses, cadastral data, current road networks, legal boundaries, or detailed building and infrastructure layers.
  • •Tradeoff: free web services have documented request limits, while bulk processing requires local ingestion, indexing, storage, and update management.
  • •Tradeoff: community editing and aggregated sources improve responsiveness and breadth but require provenance tracking and validation for consequential use.

Questions teams ask

Is GeoNames a geocoding dataset?

GeoNames can support place-name lookup, forward-style search, reverse geographic lookup, and geographic normalization through its web services and downloadable records. It should not be assumed to be a complete postal-address geocoder for every country. Its documented records focus on geographical names and related attributes, while postal-code coverage and address behavior vary by country and service.

How often is GeoNames updated?

GeoNames documents a daily worldwide database extract and provides daily modifications and deletions files for synchronization. Individual records also carry a modification date. These are different from a guarantee that every attribute or underlying source is current, so time-sensitive analysis should preserve the extract date and validate important records.

What file format does the GeoNames download use?

The main downloads are ZIP archives containing UTF-8, tab-delimited text. The principal worldwide file is allCountries.zip. GeoNames also publishes country files, city subsets, alternate-name files, administrative reference tables, hierarchy data, and other supporting extracts. Simplified country-boundary files are documented in GeoJSON form.

Can GeoNames be used commercially?

GeoNames states that its data is available under Creative Commons Attribution 4.0, that commercial usage is allowed, and that attribution should be provided. Users should still review the current project terms and account for any restrictions or attribution requirements inherited from underlying sources or separate services.

What should GeoNames be joined with in a GIS workflow?

Common companions include authoritative administrative boundaries, address or postal datasets, road and transit networks, building footprints, satellite or elevation data, public-service records, and environmental layers. GeoNames supplies geographic names and reference attributes; the appropriate companion dataset depends on the question and required accuracy.

Keep exploring

Sources

More in Datasets