BemoPixel
(Bemo Pixel)
1
Hey everyone!
I’m looking for some guidance on setting up a private database using OpenStreetMap data on my local machine. Specifically, I want to:
- Add custom locations on my local machine only.
- Export this data (not sure how exactly to do this, any advice would be great!).
- Update the Nominatim database hosted on my server using this exported data (it’s now updating with an automatic weekly update using the
REPLICATION_URL
variable, if I can upload my exported data and fetch with new url it would be so good)
If anyone has experience with this setup or knows how to streamline this process, I’d really appreciate your help!
Thanks in advance for any insights or advice!
P.S: I want only 1 country’s data to edit and export
1 Like
ImreSamu
(ImreSamu)
2
In the first instance, I would try a Docker-based solution, which can be configured for a specific country.
like : nominatim-docker/4.4 at master · mediagis/nominatim-docker · GitHub -
Example from the ./4.4/README.md :
docker run -it \
-e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf \
-e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/ \
-p 8080:8080 \
--name nominatim \
mediagis/nominatim:4.4
Of course, you need to have some understanding of Docker, but I still think this is the simplest solution.
If you run into any issues or have questions, it’s worth asking on the project’s GitHub page:
P.S:
It is important to comply with the OSM - ODbL license when using the data.