Skip to content

add nominatim docker example

Bengfort requested to merge nominatim into master

This setup works for me. There are still some things missing:

Initial setup (~20min):

mkdir nominatim
wget 'https://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf' -O nominatim/berlin.osm.pbf
docker-compose run --rm nominatim sh /app/init.sh /data/berlin.osm.pbf postgresdata 4
rm nominatim/berlin.osm.pbf

Example query:

curl 'http://localhost:7070/search?city=berlin&country=germany&street=Lentzeallee%2094&limit=1&format=json'

Sources:

Edited by Bengfort

Merge request reports