-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Support for cache purging / seeding using a tile list #214
Comments
Just to note some information on an expire list
The standard format is For what needs to be implemented, I'd look to render_list from renderd
The difference with renderd is that it has "dirty" tiles, so it can have an outdated tile still in its store. For an overview of the different methods, it's worth reading osm2pgsql-dev/osm2pgsql#709 and osm2pgsql-dev/osm2pgsql#747 |
@pnorman thanks for the follow up on this. I'm actually about to start working on this and your comment spun up requirement to support a tile entry template. The imposm3 tile list is in z/x/y format. I will make sure to support a configurable template. |
How does this relate to using bounding box + max zoom + min zoom for cache seeding? |
@sanfilippopablo The changes made for this issue shouldn't have any effect on bounding box seeding/purging. It's mostly for adding support for a list of tiles to seed/purge. You might also be interested in a new feature for using min zoom + max zoom with an individual tile. It uses the bounds of the specified tiles rather than explicit bounds. If you're interested in the code you can check out my PR #372 |
Oh, OK. But there isn't any seeding support right now, right? |
@sanfilippopablo the latest release has seed/purge support for individual tiles and bounding box |
@ear7h Great! But how? I didn't see anything in the docs about seeding |
@sanfilippopablo, you can sort of coax it out at the command line:
I've used, e.g.,
|
@erictheise didn't know that! Thanks! |
The
cache purge
andcache seed
commands should be able to accept a list of tiles in a file where each line has az/x/y
entry. Additionally, the commands should be able to watch a directory for new files and read the files as they're created.The text was updated successfully, but these errors were encountered: