Uiii! Selfe-made errors in OSMgo.org:
When your #OpenStreetMap tool draws an "division by zero", you need to investigate. I did, while coding #3D rendering. The cause was a way with two times the same node in sequence (not fist=last for closed ways). The distance is zero!
After inspecting an example:
The blamed way is not a way but a multi-polygon. Ways are concated. And the identical nodes at the end were the doubles %-I
And beside this: My code does not support multiple areas!
Well, there is always hope:
https://community.openstreetmap.org/t/all-new-3d-rendering-an-osm-building-inspector/131091