Skip to content

Clean polygons even when making high-res tiles for truncated tile pyramids - #350

Draft
e-n-f wants to merge 6 commits into
mainfrom
flatten-overlapping-multipolygons
Draft

Clean polygons even when making high-res tiles for truncated tile pyramids#350
e-n-f wants to merge 6 commits into
mainfrom
flatten-overlapping-multipolygons

Conversation

@e-n-f

@e-n-f e-n-f commented May 28, 2025

Copy link
Copy Markdown
Collaborator
curl -O https://www2.census.gov/geo/tiger/TIGER2025/TRACT/tl_2025_25_tract.zip
(for a in 1 2; do ogr2ogr -f GeoJSONSeq /vsistdout/ /vsizip/tl_2025_25_tract.zip; done ) | ./tippecanoe --generate-variable-depth-tile-pyramid -zg --coalesce-densest-as-needed -f -o foo.pmtiles -M150000 

In the main branch, tile 7/38/47 doesn't fit, so all the tiles in the zoom level should also have their features coalesced-as-needed, but tile 7/39/47 escapes because its pyramid gets truncated, and tile 7/37/47 doesn't even appear in the zoom level because tile 6/18/23 had its pyramid truncated.

In the PR branch, all three tiles appear in z7 and are coalesced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant