This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Housenumber/Street order for Nominatim?

2

House numbers are used after the street name in Norway. Then why will that order often fail in providing the correct location from Nominatim, while the reverse order (house number before street) will succeed (in Norway)?

Is there perhaps a wrong or missing parameter for Norway in Nominatim?

Example:

asked 13 Sep '18, 08:48

NKA's gravatar image

NKA
126116
accept rate: 0%


One Answer:

2

Nominatim supports both equally, it has no logic based on country here. It's actually a side-effect on how addresses are returned, again without logic based on country (https://github.com/openstreetmap/Nominatim/issues/213). The returned address is "1, Motzfeldts gate, Arctanderbyen, Grønland, Gamle Oslo, Oslo, 0187, Norway" and "Motzfeldtsgate 1" gets an ordering penalty score for not having the house number in first position.

https://nominatim.openstreetmap.org/search.php?q=Motzfeldtsgate+1%2C+Oslo&debug=1 is very detailed, check foundorder near the botton of the page.

It's a good example where that doesn't give the intended result. Can you add it to https://github.com/openstreetmap/Nominatim/issues ?

answered 13 Sep '18, 15:05

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%