[Tile-serving] [openstreetmap/osm2pgsql] Rewrite tile expiry (management of expired tiles) (#709)
Paul Norman
notifications at github.com
Wed Mar 15 22:11:36 UTC 2017
The OSMF servers don't use osm2pgsql expiry, but instead have [expire.rb](https://github.com/openstreetmap/chef/blob/743225d946/cookbooks/tile/files/default/ruby/expire.rb). I'm not sure which method it is closer to.
[render_expired](https://github.com/openstreetmap/mod_tile/blob/master/src/render_expired.c) is another way, written by @woodpeck which consumes a tile list. I'm not sure if it recurses up/down or not.
WMF uses [tilerator](https://github.com/kartotherian/tilerator#parsing-updates-file) in [pyramid mode](https://github.com/kartotherian/tilerator#pyramid-mode) which parses the osm2pgsql output but requires just a single zoom level (i.e. osm2pgsql is run with `--expire-tiles 15`)
@zerebubuth, can you add some comment on how mapzen is using the osm2pgsql tile expiry? tilezen/vector-datasource#118 points at https://github.com/mapzen/vagrant-tiles but it's deprecated, so I'm not sure what is currently being done.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/709#issuecomment-286895927
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170315/bbc96d48/attachment.html>
More information about the Tile-serving
mailing list