I should start by saying that I’m relatively new to openstreetmap and nominatim, so it is likely that this is just a beginner mistake.
I have been verifying a bunch of house locations, by using nominatim on a selfhosted server, and I stumbled upon the following address which for some reason I cannot fathom nominatim seems completely incapable of finding.
A.M.G. Friis vej 6, Kolding 6000, Denmark.
I am searching for these addresses using structured search. But whenever I search for the above it just puts me in the center of Kolding city, rather than at the actual location.
Interestingly enough if I search without the house number it correctly identifies the road, or at least part of it (the part it identifies contains the house in question.)
What makes this really weird is that I can do a reverse nominatim lookup as I have done in the below picture and point at the house I believe should be the correct one, and it will give me all the information about that location, and as far as I can see this all matches perfectly with the place I am searching for. But I am still not finding it?
Maybe the punctuation in A.M.G. makes it more difficult to separate the number from the street name without the comma - but that’s just speculation on my part.
Interestingly this seems to work when I do a free search query, but if I try to replicate this using the structured query I am unable to get it to work.
This does not work, but you are indeed correct that it seems to work in free query search. Interesting I was expecting the structured search to be the more accurate one, which is why I’m using that over the free search in this case.
It is indeed fixed now if I search for it online, wow that was fast!
So just out of curiosity, will your fix also affect my self-hosted server at some point in the future, either when I next update the osm data or when I next update nominatim? (I have no idea what you just fixed or how you did it)
A self-hosted Nominatim shouldn’t be affected by this at all. The code is a special hack to protect the servers on nominatim.openstreetmap.org, which on occasion gets spammed with garbage requests. (If you are interested, this is the code.)
In the screenshot I have made a red square, where there is trouble with the house numbering. It seems that the wrong house numbers have been applied.
22,24,26,28 are all attached to the wrong buildings and should be numbers on the southern buildings on christian winthers vej, while the houses that have the numbers all lie on kingosvej and should have completely different numbers (3,5,7,9)
In any case, since I’m already doing this work I would love to help and report these problems, but I don’t know what the best way to do so is.