Replies: 3 comments 2 replies
-
Which version of Nominatim did you install? Can you give examples of addresses that aren't found? Is 'not found' 0 results or do the results differ? |
Beta Was this translation helpful? Give feedback.
-
OpenStreetMap data isn't complete, so true address verification will not be possible. If an address isn't in OpenStreetMap data that doesn't mean it doesn't exist (and vice versa). Nominatim also does interpolation sometimes, so it will guess where a house number is if it knows the lowest and highest house number on a street, that house number might not exist at all. Nominatim 4.4 got better with address parsing compared to 4.3. There's at least 6 months development between the version you installed and what you see on nominatim.openstreetmap.org (actually more when comparing to the git master version).
Note that sometimes a city is also a state (Berlin, Germany or Hamburg, Germany) and not every address has a city (for example addresses on islands. In the USA it's common that villages belong to counties, not cities in rural areas). I think the data import itself worked fine. The query parsing logic keeps changing between versions, usually it gets better. |
Beta Was this translation helpful? Give feedback.
-
Can you please paste the request URL and response output of the request to your server instead of the results of the comparison script? |
Beta Was this translation helpful? Give feedback.
-
Description
I followed the Nominatim import instructions to import databases for different regions, specifically the US and UK, into our server. However, I noticed that some addresses cannot be found on our server even though the database has been imported successfully. Interestingly, these same addresses can be found using the Nominatim search.
Steps to Reproduce:
Download the latest OSM data file for a region (e.g., France):
wget https://download.geofabrik.de/europe/france-latest.osm.pbf
Navigate to the Nominatim build location where the data file resides.
Run the data file with the following command:
nominatim add-data --osm2pgsql-cache 18000 --file luxembourg-latest.osm.pbf 2>&1 | tee luxembourg.log
Observations
I tested several addresses for this region by searching on both the Nominatim search and our hosted server. Approximately 50% of the addresses return results on Nominatim search but not on our server.
Expected Outcome
The hosted server should return address results consistent with those found on the Nominatim search.
Actual Outcome
There is a discrepancy where around 50% of the addresses are not found on the hosted server.
Question
Do we know what could be causing this performance discrepancy and how to resolve it?
Beta Was this translation helpful? Give feedback.
All reactions