-
Notifications
You must be signed in to change notification settings - Fork 137
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 tile_multiplier
#407
Merged
Merged
Add tile_multiplier
#407
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expand a list of changed tiles to higher and/or lower zoom levels. This program expands the list of tiles produced by [`import-diff`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/import-diff) to be used by [`generate-tiles`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/generate-tiles). [`import-diff`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/import-diff) produces a list of tiles in zoom `MAX_ZOOM` that need updating. When [`generate-tiles`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/generate-tiles) is used with `FILE_LIST`, it expects a list of tiles in all zoom levels. - For each line of the form z/x/y in its standard input, representing a tile, the program outputs all tiles that overlap it for all zoom levels between <min_zoom> and <max_zoom>. - Each tile will appear once in its output. - The input zoom level need not be within the <min_zoom>..<max_zoom> range. Thanks @frodrigo for https://github.com/makina-maps/makina-maps/blob/master/nginx/tile_multiplier.py
Thank you! |
TomPohys
approved these changes
Mar 14, 2022
zstadler
added a commit
to zstadler/openmaptiles
that referenced
this pull request
Apr 15, 2022
- Add `make generate-changed-tiles` - Update `name import-diff` to refresh materialized views - Depends on latest openmaptiles-tools, and [Add tile_multiplier openmaptiles#407](openmaptiles/openmaptiles-tools#407) in particular
francois2metz
pushed a commit
to indoorequal/openmaptiles-tools
that referenced
this pull request
Mar 17, 2023
Expand a list of changed tiles to higher and/or lower zoom levels. This program expands the list of tiles produced by [`import-diff`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/import-diff) to be used by [`generate-tiles`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/generate-tiles). [`import-diff`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/import-diff) produces a list of tiles in zoom `MAX_ZOOM` that need updating. When [`generate-tiles`](https://github.com/openmaptiles/openmaptiles-tools/blob/master/bin/generate-tiles) is used with `FILE_LIST`, it expects a list of tiles in all zoom levels. - For each line of the form `z/x/y` in its standard input, representing a tile, the program outputs all tiles that overlap it for all zoom levels between `<min_zoom>` and `<max_zoom>`. - Each tile will appear once in its output. - The input zoom level need not be within the `<min_zoom>..<max_zoom>` range. Thanks @frodrigo for https://github.com/makina-maps/makina-maps/blob/master/nginx/tile_multiplier.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Expand a list of changed tiles to higher and/or lower zoom levels.
This program expands the list of tiles produced by
import-diff
to be used bygenerate-tiles
.import-diff
produces a list of tiles in zoomMAX_ZOOM
that need updating.When
generate-tiles
is used withFILE_LIST
, it expects a list of tiles in all zoom levels.z/x/y
in its standard input, representing a tile, the program outputs all tiles that overlap it for all zoom levels between<min_zoom>
and<max_zoom>
.<min_zoom>..<max_zoom>
range.Thanks @frodrigo for https://github.com/makina-maps/makina-maps/blob/master/nginx/tile_multiplier.py