mapbox / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
2.71k stars 430 forks source link

Gaps in LineStrings #950

Closed larsschwarz closed 1 year ago

larsschwarz commented 1 year ago

Using the following parameters

tippecanoe --minimum-zoom=3 --maximum-zoom=22 -l "file" -r1 -P -pf -pk -f --extend-zooms-if-still-dropping -o "out.mbtiles" "in.geojson"

it generates a lot of weird gaps in the actual LineStrings depending on the actual zoom level. See green styled lines in this two examples to mark the most obvious ones:

gaps1 gaps2

I tried playing around with various parameters, but there was no actual change in the output/display.

Any suggestions on how to debug this?

larsschwarz commented 1 year ago

Quick note: adding --no-simplification-of-shared-nodes at least keeps the same display at various zoom levels, but still with gaps in lines.

larsschwarz commented 1 year ago

Closing this issue myself. Running this with no additional parameters generates the expected result.

e-n-f commented 1 year ago

Glad you figured it out!