Peter Evans Nominatim Docker Save

Docker image for Nominatim

Project README

nominatim-docker

CI

Docker image for Nominatim, an open source tool to search OpenStreetMap data by name and address (geocoding) and to generate synthetic addresses of OSM points (reverse geocoding).

Usage

Pass the NOMINATIM_PBF_URL environment variable to the container referencing the URL of your PBF file:

docker run -d -p 8080:8080 \
-e NOMINATIM_PBF_URL='http://download.geofabrik.de/asia/maldives-latest.osm.pbf' \
--name nominatim peterevans/nominatim:latest

The PBF file will be downloaded and the database will begin building. Note that very large databases may take hours to be built.

Tail the logs to verify the database has been built and Apache is serving requests:

docker logs -f <CONTAINER ID>

Then point your web browser to http://localhost:8080/

For documentation see https://wiki.openstreetmap.org/wiki/Nominatim

Persistent Storage

For a solution to persisting the database and immutable deployments check out Nominatim for Kubernetes.

License

MIT License - see the LICENSE file for details

Open Source Agenda is not affiliated with "Peter Evans Nominatim Docker" Project. README Source: peter-evans/nominatim-docker

Open Source Agenda Badge

Open Source Agenda Rating