Difference Between Local Nominatim and OpenStreetMap Website results #2839
-
have installed nominatim 4.1.0 (tokenizer= ICU) via following instructions on nominatim documentation, added wikipedia data during the installation, and imported an updated pbf file from geofabrik.de. All works but when I sent some kind of request (e.g. Cagliari via Roma) the answer I get from Nominatim Website (https://nominatim.openstreetmap.org/) and my local installation are very different. The right results are on nominatim website of course. The problems seems to be with the search candidate algorithm or the attribuition/calc of AdressImportance parameter. The very strange thing is that I get these wrong results only for some requests. There is any particular parameter to set or anything else to verify? I hope it is clear for you and even small advice or comment would be very helpful for me Thanks Michele |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Thanks for providing the details of your installation (versions, wikipedia imported, which region imported). Can you post, ideally the full JSON output what queries seem wrong and what results you got? It's a bit of guessing but maybe we can spot missing information. |
Beta Was this translation helpful? Give feedback.
Thanks for providing the details of your installation (versions, wikipedia imported, which region imported). Can you post, ideally the full JSON output what queries seem wrong and what results you got? It's a bit of guessing but maybe we can spot missing information.
You can also add
&debug=1
to the URL to compare two Nominatim instances. That will print HTML with extra information. Example output https://nominatim.openstreetmap.org/search.php?q=roma&format=jsonv2&debug=1