StrandedKitty / streets-gl

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

barrier=fence with height - rendered on wrong position #16

Closed c-h-r-i-s-t-i-a-n closed 1 year ago

c-h-r-i-s-t-i-a-n commented 1 year ago

I'm using height/min_height to define a fence at some ground level. See attached screenshots which show that the position in streets.gl is wrong.

streets.gl:

Bild1

F4:

Bild2

RedAuburn commented 1 year ago

link to building: https://www.openstreetmap.org/way/24874757

StrandedKitty commented 1 year ago

Thanks, I forgot about mercator scale factor for walls and fences. Fixed in https://github.com/StrandedKitty/streets-gl/commit/86816e4315181721554db858c33962caad0cb722.