StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
598 stars 43 forks source link

handle roof levels <=0 #161

Closed RedAuburn closed 11 months ago

RedAuburn commented 11 months ago

roof:levels=0 is used 780,443 times in OSM, and currently causes roofs to render flat when they shouldn't be. It's being used in OSM to mean that there isn't an easily accessible level in the roof, not that the roof has no height.

bitmap

StrandedKitty commented 11 months ago

Using non-int values for roofLevels is a bit strange, but I guess it's fine for now. Thank you.