Replies: 1 comment 2 replies
-
Have you installed pyosmium as the user postgres? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been wanting to update my local nominatim DB (for entire planet) and I've been following the steps mentioned in this article.
https://www.linuxbabe.com/ubuntu/osm-nominatim-geocoding-server-ubuntu-20-04
Basically I've been following step #6 & onwards
In step #6 after installing the osmium python module, and making changes to the local.php to point to the pyosmium-get-changes script, when I install the command $/data1/nominatim/build/utils/update.php --init-updates, I get the ModuleNotFoundError for osmium.replication.
Ubuntu version I'm on 20.04
osmium installed verison 3.6.0
I installed osmium via pip
I sudo switch user as postgres as it has access to the nominatim database & then run this:
$/srv/nominatim/build/utils/update.php --init-updates
The complete error I get:
content of my /nominatim/build/settings/local.php:
PS: In the script above the replication url is that of great-britain, but I eventually want it to be pointing to the the entire planet diffs, I suppose using https://planet.openstreetmap.org/replication/daily should suffice (Please advice if this is fine)
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions