StrandedKitty / streets-gl

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

1 map tile not rendering #134

Closed bbtns closed 1 year ago

bbtns commented 1 year ago

A tile on the map is not rendering its terrain, details, landcover and buildings. Details seem like stuck on a far away zoom level. Doesn't change on different zoom levels.

It was expected to show buildings, trees and roads just like its surrounding tiles. It is especially important given the fact that this tile contain part of the main square of the city.

Map location: Bandırma/Turkey: https://streets.gl/#40.35518,27.96856,47.25,5.50,1937.94

Screenshot: image

System information

StrandedKitty commented 1 year ago

Thank you, fixed in https://github.com/StrandedKitty/streets-gl/commit/96b9d1454f2794290f9c9bad4258baf59260b580.

Screenshot 2023-06-06 at 19 17 14

There's another problem with this particular location though. It seems like rel. #14112855 doesn't get rendered properly. This is probably related to #120.

I think that this is caused by the way multipolygons are triangulated. Holes don't get assigned properly to outlines, so earcut.js produces broken result.

I'm not going to fix this because Streets GL are going to use vector tiles soon, and vector tiles don't have this issue as multipolygons get preprocessed on the server side. See screenshot below.

Screenshot 2023-06-06 at 19 36 39
bbtns commented 1 year ago

Thank you so much for the fast response and fix! <3