In this issue https://github.com/OSMBuildings/OSMBuildings/issues/163 there is a relation mentioned as possible workaround. What do you guys suggest? outline with building:levels=0, creating a relation like mentioned in the issue? It seems osmbuildings is not able to solve the problem, therefore the building:levels=0 for the outline would be the easiest solution right now, am i wrong?
Jan does mention an intersection test functionality in that issue, so does OSMBuildings lack the functionality entirely or only in certain circumstances?
The problem with adding building:levels=0 is that it would mean adding incorrect data for the benefit of a particular data consumer (sometimes called “Tagging for the renderer”). Other applications could be negatively affected, including ones unrelated to 3D.
Adding a building relation, on the other hand, may be unnecessary for software that implements intersection tests for the areas, but it isn’t incorrect. So that would be my preferred solution if you want to work around this limitation.
You are both obviously correct. As i try not to tag for the renderer at all i just did not see, that building:levels=0 on the building=yes part itself would be exactly that. Thanks for pointing that out.
Might try with the relation maybe.
Good question, will check in that issue on github. Thanks for pointing that out as well.
I just want to ask, OSMBuildings is wrong in this case and should change their rendering or their detection if an building:part=yes is present? There is already a issue about that but it does not seem like there is any movement https://github.com/OSMBuildings/OSMBuildings/issues/163