Nominatim is a powerful, open-source search engine that uses OpenStreetMap data to link names and addresses with geographic coordinates. It allows you to perform geocoding, which is finding a location on a map given its name or address. It also handles reverse geocoding, finding the address for any given point on the planet. This is the same software that powers the search on the official OpenStreetMap website, handling millions of queries every day.
You can integrate this tool into your own projects in two main ways: use the public API for occasional lookups or install your own instance for more intensive use. Key capabilities include:
services:
nominatim:
image: mediagis/nominatim:4.3
container_name: nominatim
restart: unless-stopped
ports:
- "8080:8080"
environment:
- PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf
- REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/
- IMPORT_WIKIPEDIA=false
- NOMINATIM_PASSWORD=${NOMINATIM_PASSWORD}
volumes:
- ./nominatim-data:/var/lib/postgresql/14/main
shm_size: 1gbNOMINATIM_PASSWORD=your_super_secret_passwordAuto-fetched about 22 hours ago
Auto-fetched about 22 hours ago