Opened 3 years ago
Last modified 3 years ago
#22556 closed enhancement
[patch] Complain about building=roof + addr:* — at Version 6
| Reported by: | Famlam | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | roof fuel address | Cc: |
Description (last modified by )
Currently there are about 50k cases where addr:* tags are placed on a building with building=roof (not to be confused with building:part=roof)
Addresses are typically not located on (in?) the roof of the building, but rather point at the object that's under the roof. Additionally, as the majority of these tags seem to be for amenity=fuel (60k in combination with building=roof), the wiki page of amenity=fuel also indicates one should make a separate area for the roof.
https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfuel
https://wiki.openstreetmap.org/wiki/Tag:building%3Droof
Hence, I would propose to add either:
way[building=roof][amenity=fuel] { throwOther: tr("{0} together with {1}, usually {1} is located underneath the {2}", "{0.tag}", "{1.tag}", "{0.value}"); group: tr("suspicious tag combination"); }
or
way[building=roof][/^addr:/] { throwOther: tr("{0} together with {1}, usually addresses refer to objects underneath the {2}", "{0.tag}", "{1.tag}", "{0.value}"); group: tr("suspicious tag combination"); }
Change History (6)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
I'll close it as WontFix for now then.
comment:4 by , 3 years ago
| Resolution: | wontfix |
|---|---|
| Status: | closed → reopened |
How about an informational warning (Others)?
I'm in favor, of course :)
comment:5 by , 3 years ago
| Description: | modified (diff) |
|---|
comment:6 by , 3 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | address added |
use one more placeholder



I get where you are coming from, with a caveat that in some cases the
building=roofsection will be larger than the service building and cover or almost cover the service building (I have a couple of examples in my area, although one is in the process of being torn down and rebuilt).I'm disinclined to apply the patch for
amenity=fuelobjects because of that.You might also want to see how people actually tag fuel stations -- I've seen people put all the tags on the "roof" of the fueling area, so I suspect osmwiki:Tag:amenity=fuel does not conform to current tagging practices. This also means that putting the
addrtags on the roof makes sense. In some cases.