Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiles Distortion at lower zoom Level observed #973

Open
divysts opened this issue Jun 30, 2023 · 1 comment
Open

Tiles Distortion at lower zoom Level observed #973

divysts opened this issue Jun 30, 2023 · 1 comment

Comments

@divysts
Copy link

divysts commented Jun 30, 2023

While generating pbf tiles from the tippecanoe of the following Geojson file and viewing on mapbox-gl tiles distortion(breaking) is obseved at lower zoom levels.
100_M_BUFFER.zip. I am using following settings in options given to tippecanoe
let options_obj: any ={ minimumZoom: 1, readParallel: true, buffer: 127, simplification: 1, layer: layer_id, noFeatureLimit: true, noTileSizeLimit: true, noTinyPolygonReduction: true, preserveInputOrder: true, noLineSimplification: true, extendZoomsIfStillDropping: true, force: true, dropRate: 0, };

@e-n-f
Copy link
Contributor

e-n-f commented Jun 30, 2023

Thanks for the report. I will look into what can be done about this in https://github.com/felt/tippecanoe. Tippecanoe currently tries to keep entire polygons from being simplified away, but does not prevent thin sections from collapsing to 0 width, as would be desirable here.

➤ tippecanoe -o foo.mbtiles -Z1 -P -b127 -S1 -l layer_id --no-feature-limit --no-tile-size-limit --no-tiny-polygon-reduction --preserve-input-order --no-line-simplification --extend-zooms-if-still-dropping -f -r0 <(unzip -p Downloads/100_M_BUFFER.zip )
Screen Shot 2023-06-30 at 1 16 35 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants