I have setup nominatim in my server and its working fine but if I search a address with the following pattern its not returning any geocoding results: city/street name/House No./postal code OR city/street name/postal code/House No. But returning result for same if I supply the post code before street name or or city. city/postal code/street name/House No. OR postal code/city/street name/House No. For Example: Working : https://nominatim.openstreetmap.org/search.php?q=brussels+1000+allee+verte+10+&polygon_geojson=1&viewbox= Not working: https://nominatim.openstreetmap.org/search.php?q=brussels+allee+verte+10+1000&polygon_geojson=1&viewbox= It would also be helpful if you can let me know what is the correct way to search and if i missing something. Thanks asked 31 May '18, 22:05 suroKarma |
Commas will help Nominatim to distinguish the address components better. They're optional, but for postcode and housenumbers next to each other useful. Try https://nominatim.openstreetmap.org/search.php?q=brussels%2C+allee+verte+10%2C+1000&polygon_geojson=1 (Here the exact building https://www.openstreetmap.org/node/2640980784 isn't found because the street is named 'Allée Verte - Groendreef', not 'Allée Verte'). answered 31 May '18, 23:40 mtmail which is still strange, as the street has name:fr and name:nl. When I search for Groendreef 10, Brussel, the third answer is that building. The same for allee verte 10, bruxelles. It's even the only answer for "allee verte 10, 1000" or "brussels, allee verte 10" So just use comma's to seperate city/street + housenumber/postal.
(01 Jun '18, 04:16)
escada
thanks for answering, the street has two names one in fr and one in nl so any of the name should be fine. But if i get input from a consumer and the address parts may jumble and i don't have control over the request then if i put a comma after each address parts still for some combination it wont work. But in the the below case i'm getting a response but not the exact house address: https://nominatim.openstreetmap.org/search.php?q=brussels%2C+allee+verte+10%2C+1000&polygon_geojson=1&viewbox=
(01 Jun '18, 08:58)
suroKarma
but its strange if i parse only <street>,<house number="">,<post code=""> which is without the city name but in the same order, its working.
(01 Jun '18, 10:49)
suroKarma
|