Closed megarok closed 1 year ago
nominatim.osm.org doesn't run version 4.2 but the latest master with dozens of algorithmic changes since 4.2 got released. At the same time its original import of planet data is months old and not all places are touched/updated yet with its minutely updates. It makes such comparisons hard.
nominatim.osm.org doesn't run version 4.2 but the latest master with dozens of algorithmic changes since 4.2 got released. At the same time its original import of planet data is months old and not all places are touched/updated yet with its minutely updates. It makes such comparisons hard.
Thank you for your answer. So I probably will not be able to fix this using the docker?
Yes, unlikely you did anything wrong here. I see you imported the special phrases already. Looks like Nominatim 4.3 will find more places.
Describe the bug Despite my efforts, the version 4.2 of Nominatim I am currently using is returning fewer results than the Official Nominatim. I have updated the data multiple times but to no avail. A screenshot further down in the post should clarify my point. I specifically need this for New Zealand, but this issue is affecting me generally.
To Reproduce Steps to reproduce the behavior:
docker run --restart=always --shm-size=1g -e PBF_URL=https://download.geofabrik.de/australia-oceania/new-zealand-latest.osm.pbf -e REPLICATION_URL=https://download.geofabrik.de/australia-oceania/new-zealand-updates -e NOMINATIM_TOKENIZER=icu -p 8888:8080 -v nominatim-data:/var/lib/postgresql/14/main2 --name nominatim mediagis/nominatim:4.2
docker exec -it nominatim sudo mkdir /app/tokenizer
docker exec -it nominatim sudo chown nominatim:nominatim /app/tokenizer
docker exec -it nominatim sudo -u nominatim nominatim index
docker exec -it nominatim sudo -u nominatim nominatim special-phrases --import-from-wiki
docker exec -it nominatim sudo -u nominatim nominatim replication --project-dir /nominatim --catch-up
Expected behavior Same results as on Nominatim Official or more.
Screenshots & Logs
Left is my Nominatim and right is the Official Nominatim number of results.
I have managed to resolve the issue with all the search results except for one specific result (the word "park"), which is still showing fewer results compared to the Official Nominatim. Additionally, there may be some other unidentified results that are also showing fewer results than the Official Nominatim.
https://nominatim.openstreetmap.org/ui/search.html?q=park&viewbox=172.0295%2C-43.2334%2C172.848%2C-43.8395&bounded=1
My Nominatim:
Official Nominatim:
Desktop / Server (please complete the following information):
Thanks for any help.