Nominatim icon indicating copy to clipboard operation
Nominatim copied to clipboard

addr:street tag ignored (assumed based on nearby way)

Open blackboxlogic opened this issue 3 years ago • 3 comments

What did you search for?

37 Market Square, South Paris, Maine

What result did you get?

No results

What result did you expect?

https://www.openstreetmap.org/node/7176251197

Further details

Searching for this element by name finds it, but reveals that Nominatim thinks this element is on "Church Street" image Even though the addr:street=Market Square image There is a "Church street" near by, and maybe nominatim pre-processing assumes addr:street is wrong because there's no element with highway=* nearby with that name. I realize I could probably fix this by adding an element with name=Market Square, and I probably will, but I shouldn't need to do that for Nominatim to find the correct element which is correctly tagged by searching for the correct address.

The address is correct as tagged, confirmed on the website.

blackboxlogic avatar Sep 23 '22 15:09 blackboxlogic

Your assessment is correct. Nominatim looks for "Market Square" but can't find a nearby road by that name. Somebody needs to add the road.

There are way too many mapping errors, typos and inconsistencies in addr:street values to have Nominatim create places for each in its database. https://nominatim.org/qa/#map=2.18/0.00/0.00&layer=addr_street_wrong_name

mtmail avatar Sep 23 '22 15:09 mtmail

This looks like a case where you want to use addr:place instead of addr:street. Looks like there is no real street or place with that name anymore because there are now state road crossroads in the place of the former square.

lonvia avatar Sep 23 '22 16:09 lonvia

@mtmail I'm glad it's by design instead of a mistake. Did you consider any other options, maybe index the location as both the tagged and inferred addresses?

@lonvia Thanks for suggesting addr:place. I just found where addr:street~".*square" and I'll probably review/fix all those.

blackboxlogic avatar Sep 23 '22 18:09 blackboxlogic

This did end up being a missing road, which I've fixed. You're detecting when addr:street doesn't match a nearby road and assuming the addr:street is wrong. For the record, in Maine USA, the address data is more reliable than the road data.

blackboxlogic avatar Sep 25 '22 01:09 blackboxlogic

Closing as data issue.

lonvia avatar Nov 04 '22 14:11 lonvia