Skip to content
RAG Repo

GeoNames is a gazetteer, a directory of geographic names, that pulls together data from national mapping agencies and other official sources into one consistent dataset. Every entry has a stable identifier, latitude and longitude, a feature type (city, mountain, river, and so on), and links up the administrative hierarchy from country down to local area.

You can download the whole database as tab-separated text files for bulk use, or call the web services for lookups such as reverse geocoding, nearby places, and name search. Alternate names and translations in many languages make it handy for matching place names written in different scripts.

For RAG, GeoNames is a reliable way to link a mention of a place to a precise location and its context. It is widely used to enrich datasets, disambiguate place names, and power location search.

gazetteerplace-namescoordinatesapistructuredgeographic

Related sources