[OSM-dev] Two technology related questions
Tom Hughes
tom at compton.nu
Thu Feb 6 21:25:02 UTC 2014
On 06/02/14 20:58, Jocelyn Jaubert wrote:
> I'm very interested with this quick-and-dirty method to expire tiles.
>
> Can you explain how this method works, or provide the script used by osm.org
> tiles ?
Sure - most of the work is done by this ruby module:
http://git.openstreetmap.org/chef.git/blob/HEAD:/cookbooks/tile/files/default/ruby/expire.rb
which is invoked from a small script:
http://git.openstreetmap.org/chef.git/blob/HEAD:/cookbooks/tile/templates/default/expire-tiles.erb
That in turn is run by the replication code, giving the name of the
replication diff file fetched by osmosis as argument.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the dev
mailing list