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

Add config to only show largest buildings early before zoom 16 #2041

Open
nvkelso opened this issue Jan 11, 2022 · 0 comments
Open

Add config to only show largest buildings early before zoom 16 #2041

nvkelso opened this issue Jan 11, 2022 · 0 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented Jan 11, 2022

The tile size for 512px sized zoom 13 and 14 tiles is large because we're including all the buildings instead of just some of the largest buildings. At earlier zooms we filter by area more aggressively.

Some map styles (like those produced at Mapzen) assume 100% building coverage at those zooms, so let's add a config to adjust the area threshold to show "all" or just "some" buildings at the earlier zooms. By zoom 15 (512px size, or 16 in 256px space) all the buildings should remain visible. The default config should be "all" not "some" for a compatible v1.9 change, or "some" for a breaking v2 change.

Example 512 px tiles: 13/4149/2817.mvt and 14/8174/6234.mvt

@nvkelso nvkelso added this to the v2.0.0 milestone Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant