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

Updating tiles other than zoom=14 #290

Open
ingarpedersen opened this issue Jun 3, 2020 · 1 comment
Open

Updating tiles other than zoom=14 #290

ingarpedersen opened this issue Jun 3, 2020 · 1 comment

Comments

@ingarpedersen
Copy link

ingarpedersen commented Jun 3, 2020

I'm a bit confused about the diff update process.
I have a database up and running, and I'm running a diff update. This update results in a file that lists all tiles that is affected by the update, but only at zoom=14. How do I get a list of all tiles that needs to be updated at all zoom levels?
I have verified that a change (a new road) was missing at zoom 12 but became visible on zoom=14. If I run full tile generation, the change is visible at zoom=12.

Thanks
Ingar F Pedersen

@zstadler
Copy link
Contributor

When running diff update, imposm creates a list of tiles, in zoom14, that need to be updated, while the tile generation accepts a list tiles to be generated in all relevant zoom levels.
The expansion of the list to all zoom levels between MIN_ZOOM and MAX_ZOOM can be done using @frodrigo's tile_multiplier.py

The conversion could be done this way:

find ./data -name "*.tiles" -exec cat {} \; -exec rm {} \; | \
    tile_multiplier.py $(MIN_ZOOM) $(MAX_ZOOM) > data/tiles.txt

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

2 participants