Oh, I was picturing it differently in my mind than what it actually looks like, which is:
(from Bing Streetside -
link)
Which is a little more complicated. So in this case, building=roof
is actually probably causing the issues, as I believe the 3D renderers assume that tag is only used for mapping the sloped (in this case, hipped) part of the roof, not that red block underneath. So, to really represent this, you’ll need to be a bit more creative.
Here’s how I organize it mentally:
(Note:
building:height=*
is discouraged by the
Simple 3D Buildings Wiki page and gets flagged by some QA tools, so maybe best to keep that one tagged only mentally)
Which I would probably just tag:
building=yes
height=7 m
min_height=5 m
roof:height=1 m
roof:shape=hipped
Plus the other material and color properties. This is read as "There is some building here, with a height measured from ground to highest point of 7m, which starts 5 m above ground level, and which has a hipped roof that is 1m tall from its top down.
Now, one could argue that because building=roof
is correct for this entire structure as I understand it as defined on the Wiki, to instead tag it as the less specific building=yes
in order for this specific 3D renderer to handle it gracefully is “(Mis)mapping for the renderer” which should be avoided.
I probably wouldn’t personally bother, but there’s another option that is technically more correct which is to use two overlapping ways, one tagged
building=roof
height=7 m
roof:height=1 m
roof:shape=hipped
and the other
building:part=yes
height=6 m
min_height=5 m
This reads as: “There is a wall-less building (so, a roof only) here, with a height measured from ground to highest point of 7m, which has a hipped roof that is 1m tall from its top down. Additionally, there is another part of this building, with a height measured from ground to highest point of 6m, and which starts 5 m above ground level.”