Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Daily place-name and coordinate dumps from GeoNames for building searchable destination gazetteers with source attribution.
Report a ProblemFrom Source to Product Signal
GeoNames publishes daily place-name dumps. Start with the small Andorra country archive and retain its attribution. Place names and representative coordinates are imperfect and do not define exact administrative boundaries.
Install the packages, then run the notebook cell.
python -m pip install requests
import csv
import io
from zipfile import ZipFile
import requests
response = requests.get("https://download.geonames.org/export/dump/AD.zip", timeout=30)
response.raise_for_status()
archive = ZipFile(io.BytesIO(response.content))
with archive.open("AD.txt") as file:
rows = csv.reader(io.TextIOWrapper(file, encoding="utf-8"), delimiter="\t")
for row in list(rows)[:5]:
print(row[0], row[1], row[4], row[5])Test a Useful Signal
Evaluate a bounded place-name dump for a destination search prototype.
GeoNames is a community source. Last verified 2026-09-28. Temporal coverage: current gazetteer with daily dump updates.