<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Thanks Christian for this support from OSM-fr.<br></span></div><div> </div><div><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;">Pierre <br></span><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">De :</span></b> Christian Quest <cquest@openstreetmap.fr><br> <b><span style="font-weight: bold;">À :</span></b> Tom Hughes <tom@compton.nu> <br><b><span style="font-weight: bold;">Cc :</span></b> Pierre Béland <pierzenh@yahoo.fr>;
 "dev@openstreetmap.org" <dev@openstreetmap.org>; tech <tech@osm101.openstreetmap.fr> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi 28 novembre 2013 6h54<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [OSM-dev] OpenStreetmap.org share Dowload option malfunction<br> </font> </div> <div class="y_msg_container"><br><div id="yiv4005034593"><div><div dir="ltr">We'll try to setup it as is, and see the additional load on the server...</div><div class="yiv4005034593gmail_extra"><br clear="none"><br clear="none"><div class="yiv4005034593yqt8868276109" id="yiv4005034593yqtfd95974"><div class="yiv4005034593gmail_quote">2013/11/27 Tom Hughes <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:tom@compton.nu" target="_blank" href="mailto:tom@compton.nu">tom@compton.nu</a>></span><br clear="none">

<blockquote class="yiv4005034593gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv4005034593im">On 27/11/13 20:13, Christian Quest wrote:<br clear="none">
<br clear="none">
<blockquote class="yiv4005034593gmail_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 clear="none">
<br clear="none">
What is required to run it ?<br clear="none">
<br clear="none">
Is it available on github ?<br clear="none">
<br clear="none">
I'm ok to add it on our server, just hopping it will handle the<br clear="none">
additionnal load.<br clear="none">
</blockquote>
<br clear="none"></div>
The script is here:<br clear="none">
<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://git.openstreetmap.org/chef.git/blob/HEAD:/cookbooks/tile/templates/default/export.erb">http://git.openstreetmap.org/<u></u>chef.git/blob/HEAD:/cookbooks/<u></u>tile/templates/default/export.<u></u>erb</a><br clear="none">


<br clear="none">
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 clear="none">
<br clear="none">
It uses the python bindings to mapnik and cairo, so you'll need to have those.<div class="yiv4005034593im"><br clear="none">
<br clear="none">
<blockquote class="yiv4005034593gmail_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 clear="none">
postpone it and send a link by email to download the result when it<br clear="none">
cannot be generate on the fly.<br clear="none">
</blockquote>
<br clear="none"></div>
Well sure, but that would be a whole load of work ;-) This whole thing is basically a quick hack I did...<div class="yiv4005034593HOEnZb"><div class="yiv4005034593h5"><br clear="none">
<br clear="none">
Tom<br clear="none">
<br clear="none">
-- <br clear="none">
Tom Hughes (<a rel="nofollow" shape="rect" ymailto="mailto:tom@compton.nu" target="_blank" href="mailto:tom@compton.nu">tom@compton.nu</a>)<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://compton.nu/">http://compton.nu/</a><br clear="none">
</div></div></blockquote></div></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none">Christian Quest - OpenStreetMap France<br clear="none">Un nouveau serveur pour OSM... <a rel="nofollow" shape="rect" target="_blank" href="http://donate.osm.org/server2013/">http://donate.osm.org/server2013/</a><div class="yiv4005034593yqt8868276109" id="yiv4005034593yqtfd94313">
</div></div></div></div><br><br></div> </div> </div>  </div></body></html>