<div dir="ltr">We'll try to setup it as is, and see the additional load on the server...</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/27 Tom Hughes <span dir="ltr"><<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 27/11/13 20:13, Christian Quest wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I suppose the script is calling mapnik to generate the image.<br>
<br>
What is required to run it ?<br>
<br>
Is it available on github ?<br>
<br>
I'm ok to add it on our server, just hopping it will handle the<br>
additionnal load.<br>
</blockquote>
<br></div>
The script is here:<br>
<br>
<a href="http://git.openstreetmap.org/chef.git/blob/HEAD:/cookbooks/tile/templates/default/export.erb" target="_blank">http://git.openstreetmap.org/<u></u>chef.git/blob/HEAD:/cookbooks/<u></u>tile/templates/default/export.<u></u>erb</a><br>


<br>
Note that it's a template that is expanded by chef to fill in a list of blocked users, so you'll need to edit that bit out or something, as well as changing the path to the style file.<br>
<br>
It uses the python bindings to mapnik and cairo, so you'll need to have those.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
An improvement that could be made on this export feature is to a<br>
postpone it and send a link by email to download the result when it<br>
cannot be generate on the fly.<br>
</blockquote>
<br></div>
Well sure, but that would be a whole load of work ;-) This whole thing is basically a quick hack I did...<div class="HOEnZb"><div class="h5"><br>
<br>
Tom<br>
<br>
-- <br>
Tom Hughes (<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>)<br>
<a href="http://compton.nu/" target="_blank">http://compton.nu/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christian Quest - OpenStreetMap France<br>Un nouveau serveur pour OSM... <a href="http://donate.osm.org/server2013/" target="_blank">http://donate.osm.org/server2013/</a>
</div>