StrandedKitty / streets-gl

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

Small elements not rendering #166

Closed Tntnnbltn closed 1 year ago

Tntnnbltn commented 1 year ago

The vector tile system loses details of small parts, which can include very small/thin building elements (on the scale of ~10 cm) being missing.

I modified planetiler and streets.gl locally to generate and run off of level 17 tiles instead of level 16, and the rendering of small elements noticeably improved. The following screenshots show the same building objects, using tile sets created with planetiler using zoom levels of 16 (left) and 17 (right), and then rendered in streets.gl using those respective tile sets.

image image
StrandedKitty commented 1 year ago

Related to https://github.com/StrandedKitty/streets-gl/issues/141

StrandedKitty commented 1 year ago

@Tntnnbltn Can you please share the location of these buildings on the screenshots?

Tntnnbltn commented 1 year ago

@Tntnnbltn Can you please share the location of these buildings on the screenshots?

-32.148600, 115.934304 -32.126376, 115.925724

StrandedKitty commented 1 year ago

Fixed by increasing precision in Planetiler.

Screenshot 2023-08-21 at 01 14 59 Screenshot 2023-08-21 at 01 15 40