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

Simplify geometry of low zoom Natural Earth features #2014

Closed
nvkelso opened this issue Nov 23, 2021 · 1 comment
Closed

Simplify geometry of low zoom Natural Earth features #2014

nvkelso opened this issue Nov 23, 2021 · 1 comment
Milestone

Comments

@nvkelso
Copy link
Member

nvkelso commented Nov 23, 2021

At low zooms we don't currently simplify geometries, but we should. This will produce smaller file size.

Historically we've relied on switching back and forth between different Natural Earth scale sets (110m, 50m, then 10m), and that mostly works. But on the first zoom each of those are introduced that produces too much geometry, then on the next zoom it's a little bit much, and next next zoom it's usually fine (or we switched to the next NE scale set).

It may be a simple as setting these simplify_start zooms to 0, but there is a lot of OSM mixed up in those configs, so we might want to split the config for NE from OSM, too.

@nvkelso nvkelso added this to the v1.9.0 milestone Nov 23, 2021
nvkelso added a commit that referenced this issue Nov 23, 2021
Connects with #2014.

- Shifts simplification mostly to zoom 0 from 8
- Start simplifying transit layer
- Truncate min_zoom to 1 decimal place always
@nvkelso
Copy link
Member Author

nvkelso commented Dec 15, 2021

Fixed via #2015.

@nvkelso nvkelso closed this as completed Dec 15, 2021
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

1 participant