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

Optionally disable 1024px tile #309

Merged
merged 2 commits into from
Nov 21, 2017

Conversation

zerebubuth
Copy link
Member

Add a configurable option to lop the top off the metatile pyramid. E.g: if we're using metatile.size: 4 to generate 4x4 metatiles, then metatile.start-zoom: 1 should mean we don't generate the "1024px" tile.

Note that this changes the meaning of process_coord - it used to generate a tile for coord and each of cut_coords, but now only generates a tile for each of cut_coords. This change in meaning (and the same for format_tile) requires a corresponding change in tileserver.

Matt Amos added 2 commits November 21, 2017 16:46
This means that the coordinate has to be included explicitly, and is a stepping stone to being able to exclude the "top" coordinate if we don't want it for 1024px tiles.
@zerebubuth zerebubuth merged commit 342b419 into master Nov 21, 2017
@zerebubuth zerebubuth deleted the zerebubuth/optionally-disable-1024px-tile branch November 21, 2017 19:30
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

Successfully merging this pull request may close these issues.

2 participants