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 ([email protected])
http://compton.nu/

_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to