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 tile_multiplier #407

Merged
merged 4 commits into from
Mar 14, 2022
Merged

Add tile_multiplier #407

merged 4 commits into from
Mar 14, 2022

Conversation

zstadler
Copy link
Contributor

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 by generate-tiles.
import-diff produces a list of tiles in zoom MAX_ZOOM that need updating.
When 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

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
@zstadler
Copy link
Contributor Author

zstadler commented Feb 25, 2022

Related to #290, #313, #401

@zstadler zstadler changed the title Add tile_miltiplier Add tile_multiplier Feb 25, 2022
@TomPohys
Copy link
Member

Thank you!

@TomPohys TomPohys merged commit 5dc11a3 into openmaptiles:master Mar 14, 2022
@zstadler zstadler deleted the tile_multiplier branch March 15, 2022 07:20
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants