Unable to lookup this particular address in nominatim, but reverse search looks correct?

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?

So what am I doing wrong? Or if I am doing things right? what do I do to fix this problem?

Cheers

It seems to work if you include a comma to separate the house number and the street name:

A.M.G. Friis Vej, 6, Kolding 6000, Denmark

results

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.

1 Like

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.

housenumber / street: A.M.G. Friis Vej, 6
city: Kolding
country: denmark
postal code: 6000

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.

You’ve hit a special protection for non-sensical queries. This really shouldn’t be applied to structured queries. Should be fixed now: Nominatim Demo

1 Like

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.)

1 Like

I found another one:

‘street’: ‘Chr. Winthers Vej 17’, ‘city’: ‘Kolding’, ‘postalcode’: ‘6000’

Is there a better way to report these kinds of things?
Also that particular neighborhood seems to be quite full of errors

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.

That’s an issue with abbreviations. Nominatim doesn’t know that ‘Chr Winthers Vej’ and ‘Christian Winthers Vej’ are the same.

For wrongly mapped house numbers, please edit OSM directly.