Skip to content

Can tilequeue regenerate tiles based on osmosis diffs? #186

@ambientlight

Description

@ambientlight

How do you guys regenerate the tiles based on OSM updates?

I have found that I can pre-generate tiles with tilequeue, however I haven't found any info on how do you guys refresh them. I only found that config specifies expired-location, but it didn't give me any further clues.

  1. What do you use to invalidate/delete outdated tiles? It doesn't seem to be a tilequeue's job since I haven't found any .yamls that specify when certain zoom-level tiles become outdated?

  2. Can I feed osmosis generated .osm.gz to tilequeue so it will look on query config, do a bunch of postgres queries and figure out what tilesets need to be recursively updated?

If there are no such mechanisms, writing tile refresh scripts is not a big deal, but doing tile updates based on osmosis diffs is bit more complex. I technically can wait until osmosis applies .osm.gz, parse the .osm.gz xmls, query-config .yamls and osmosis styles and then it is technically possible to understand what features corresponsd to this osm object, so I can then recursively regenerate the tileset within this quad subtree. What do you recommend here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions