-
Notifications
You must be signed in to change notification settings - Fork 192
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
Expire using metatiles zoom levels? #447
Comments
Thank you for creating the issue @joto, I have begun to look into implementing this into I'm not sure what you mean here though:
as metatiles do not contain tiles spanning multiple zoom levels, Could you please explain what you mean there? |
What I mean is that instead of writing out, say z19,x453726,y39265, I write out z16,x56715,y4908 in the expire list. z16,x56715,y4908 is the metatile that contains z19,x453726,y39265 (and many neighboring tiles). Then |
It seems like that is basically what is already being done, more or less, here's an example command: printf "16/56715/4908\n17/113420/9816\n18/226860/19632\n19/453726/39265\n" | \
render_expired --min-zoom 3 --max-zoom 19 --verbose --touch-from 0
|
When a tile is expired on, say, zoom level 19, it is marked in the expire list in that zoom level 19. But really we are using metatiles, so always the whole metatile is getting expired. If there are a lot of tiles in the same metatile, they are all in the expire list. In the worst case there are 8x8=64 times the number of entries in the expire list than we would really need. We could just write out expire list on zoom level 16 instead.
So I propose some kind of option to
render_expires
(and mayberender_list
) that says: interpret zoom levels as meta tile zoom levels, not tile zoom levels.See also: osm2pgsql-dev/osm2pgsql#2190
The text was updated successfully, but these errors were encountered: