Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

seperate node addr:housenumber is not found in nominatim search #5333

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: robertfloor[at]hotmail.com
[Submitted to the original trac issue database at 8.08pm, Thursday, 16th July 2015]

When I use the search nominatim using the term "fire station, uden, netherlands" in the search field I get a result, but I don't get the house number returned, which I would like. The object of interest is a separate node on a building. There is another separate node nearby with a tag"addr:housenumber=4" but this value is not returned. It would be nice to get this value returned. Would this be possible?

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.08pm, Tuesday, 4th August 2015]

This is tricky because there are three objects involved in the computation. First, Nominatim has to figure out that the fire station node is inside a building and then that there is also a house number node in the building that might be related. It gets even more tricky if there are multiple house numbers. Then it would have to find all of them and decide which one is closest. All not impossible but unlikely to happen in the near future.

One thing does already work, though: if the house number is tagged on the building outline, then all POIs inside (including that fire station in the example) will inherit that house number if they don't have already one of their own.

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 11.48pm, Tuesday, 11th August 2015]

I would say that there is somewhat of a data error here - if the address belongs to the entire building, it should be tagged on the building way. Trying to move addresses up from nodes to enclosing ways is likely to be fraught with problems, some of which lonvia has mentioned.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.20am, Sunday, 31st January 2016]

Agreeing with pnorman here. You should either tag the house number on the outline or add a housenumber tag to each POI in the building.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant