GeoNames
GeoNames is a gazetteer, a structured directory of place names, holding more than 11 million entries spanning every country on earth. Each record has a stable numeric identifier, a latitude and longitude, a feature type (city, river, mountain, administrative area, and so on), population and elevation where they are known, and its slot in the administrative hierarchy from country down to local district. Crucially, it also stores alternate names and translations across many languages and scripts.
There are two practical ways in. You can download the entire database, or per-country extracts, as tab-separated text files refreshed daily, which suit bulk work, or you can call the web services for individual lookups: name search, reverse geocoding (turning a coordinate into the nearest named place), nearby features, and hierarchy queries. The free API needs a registered username and enforces daily request limits, so for anything at scale the bulk dumps are almost always the better route.
In a RAG stack GeoNames works as a resolution and enrichment layer rather than a body of readable prose. It is the dependable way to turn a bare mention of "Springfield" into a specific place with coordinates and context, to tell apart the many places that share a name, to tag documents with regions for geographic filtering, or to power location-aware search across your corpus. Those alternate names make it particularly good at matching a place written in another language or script.
Quality tracks the underlying sources: coverage is rich for well-mapped countries and thinner elsewhere, population counts can be dated, and duplicate or near-duplicate entries turn up, so a little deduplication and confidence scoring pays off. It is licensed CC BY 4.0, which permits commercial use as long as you credit GeoNames.
For detailed geometry and boundaries, pair it with OpenStreetMap or Overture Maps; GeoNames is the lighter, name-first companion to those heavier map datasets.
Related sources
Google-Microsoft-OSM Open Buildings (VIDA)
A conflated global building-footprint layer that merges Google Open Buildings V3, Microsoft Global ML Footprints, and OpenStreetMap into roughly 2.7 billion footprints, each labelled by its source. Built by VIDA and hosted on Source Cooperative in cloud-native formats, it offers more complete coverage than any single provider on its own.
Natural Earth
A public domain map dataset built for cartography, offered at three scales: 1:10m, 1:50m, and 1:110m. It bundles cultural data (borders, cities, roads), physical data (coastlines, rivers, lakes), and raster imagery, all ready to drop into a map.
OpenStreetMap
A crowdsourced map of the world, built and maintained by a community of volunteers. It holds detailed geographic data on roads, buildings, land use, points of interest, and much more, which you can download as a full planet file or as smaller regional extracts.
Overture Maps Foundation
An open map data project run under the Linux Foundation by a group of industry members. It combines and harmonises data from OpenStreetMap, Microsoft, Meta, and others into consistent, interoperable map layers you can build on freely.