Nominatim

Find locations by name or look up addresses for any coordinate on the planet. This open-source geocoder uses constantly updated OpenStreetMap data.

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:

  • Flexible Geocoding: Find places using free-form text like "Cafe Paris, New York" or structured queries for automating large address lists.
  • Precise Reverse Geocoding: Get the nearest address for any latitude and longitude pair.
  • Scalable Installation: Set up a service for just your city on a laptop or run a full planet-wide instance on a dedicated server.
  • Configurable Data: You decide which features from OpenStreetMap are important and import only what you need.
  • Up-to-Date Information: Keep your geocoding data current with minutely updates directly from the OpenStreetMap community.

Directory Structure

nominatim
nominatim-data
.env
docker-compose.yml

docker-compose.yml

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: 1gb

.env

NOMINATIM_PASSWORD=your_super_secret_password
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Nominatim

Favicon

 

  
  
Favicon

 

  
  
Favicon