Talk:Key:addr:street

From OpenStreetMap Wiki
Latest comment: 5 days ago by E L Yekutiel in topic Corner case
Jump to navigation Jump to search

Corner case

In my neighborhood, some buildings on street corners bear two addresses (also physically, posted on the building itself, near the same single gate).

Is there a way to represent multiple addr:street values (with corresponding addr:housenumber values matching each of them)?

I guess that in the vast majority of cases where this is required, there is need of exactly two addresses (and not three or more).

Thanks! E L Yekutiel (talk) 20:56, 21 June 2026 (UTC)Reply

In Addresses, it is suggested to use standalone nodes inside the building polygon to carry its address, and it is said that this can be used for a building with multiple house numbers.
If there is no objection or better alternative, I'll use the same method to mark multiple street names + house numbers as well. E L Yekutiel (talk) 05:01, 22 June 2026 (UTC)Reply
Yes, you can have multiple address nodes on one building, placing them on the building sides they refer to.
What I think should be avoid is adding all in one pair of tags.
Sample: addr:street=Alpha street;Beta street and addr:housenumber=4;55.
If there is a city- or country-specific approach for your area, use that. --99 tabazan (talk) 06:44, 22 June 2026 (UTC)Reply
Thanks a lot!
Yes, I've seen something similar to what you describe, only without an addr:street=* tag at all, even though the two numbers appearing in the single addr:housenumber=* tag belong to two different streets; they're 55 and 2. Actually I remember now that in Addresses it is explicitly requested not to add only the house number, but to add the street name as well.
Anyway, I didn't like the multi-street housenumber tag, and that's why I looked for alternatives.
Excellent, so I'll add two address nodes in the building's polygon, making them each face the respective street.
Thanks again! E L Yekutiel (talk) 06:47, 22 June 2026 (UTC)Reply
Here is a sample corner building: https://www.openstreetmap.org/way/79066933 (it has three numbers on three streets). The main entrance (and current official building address) is from 2. --99 tabazan (talk) 07:00, 22 June 2026 (UTC)Reply
Excellent, thanks a lot again! E L Yekutiel (talk) 18:54, 22 June 2026 (UTC)Reply
Hi @99 tabazan,
I just noticed something...
As you said, the building's way carries the main address in its tags. Normally, the house number is rendered inside the building's polygon, like in the way nearby police station. However, in this building, this doesn't happen. Is it because it has dedicated address nodes? The renderer knows to ignore the address stored in the way element in this case?
Thanks again! E L Yekutiel (talk) 10:50, 23 June 2026 (UTC)Reply
In OSM's default view, osm:node/12759877553, the shop on level=0 is displayed. In the layer "MapTiler OMT" it looks a bit different: https://www.openstreetmap.org/#map=19/46.199807/6.148472&layers=V Essentially, it's a design decision by the map layer designer.
Purists might not add the number to the way of the building. In the centre, sometimes it's hard to tell which one is a separate building and which one isn't. Mulitiple facades of old buildings have the same structure behind while the entrances remain. The "main" entrance can be change. 99 tabazan (talk) 11:29, 23 June 2026 (UTC)Reply
Great, good to know!
Thank you very much again! E L Yekutiel (talk) 11:54, 23 June 2026 (UTC)Reply