I forgot a third possible way around it - generate standard image tiles using Mapnik, and use Mapnik MetaWriters to provide data files for the popups - again I have not tried this one, but it would probably be the simplest way of getting to a larger area map with the least coding work required.<div>
<br></div><div>Graham.<br><br><div class="gmail_quote">On 15 November 2011 23:27, Graham Jones <span dir="ltr"><<a href="mailto:grahamjones139@gmail.com">grahamjones139@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Sven, Brian,<div>There are two reasons that this only works for the UK (or really the UK and Ireland) at the moment:</div><div><ul><li>My OSM database only covers this region. It could probably cope with a larger area (maybe Europe), but I have never tried - it is running on my old Laptop so it is not particularly powerful (but does use <20W, and I worry about my Carbon footprint!).</li>
<li>The method that I use to produce the map would not scale well to large areas - there is a single file for each feature for the entire area, so if I make the area larger the download time for the files could become very large, and make the map feel unresponsive. (I think that I will struggle even to extend the maps to uk pubs, because the pub data file is over 9MB, which would need downloading every time a user views the map. There are ways around this:</li>
<ul><li>Split the data into different files for different areas (basically cut it into tiles like we do map images). </li><li>Use a database on the server and extract only the data covering the area being displayed - could be done, but I do not have the code to keep a mySql database on a remote server up to date with OSM data.</li>
</ul></ul>I think that these could be solved, but it will mean a change to the data handling system. If you are interested in developing one of these, let me know and we can collaborate on it.</div><div><br></div><div>
Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888"><br>Graham<br><br></font></span><div class="gmail_quote"><div><div class="h5">On 15 November 2011 15:48, Brian Prangle <span dir="ltr"><<a href="mailto:bprangle@gmail.com" target="_blank">bprangle@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi everyone<div><br></div><div>Whilst I originally envisaged this as a UK project, what Sven has brought up does suggest that it has a global perspective, but I doubt if Graham's time or server could cope with something that large. The wine industry is certainly global and Heineken( not real ale I know!) has 115 plants in 65 countries. Food (or drink) for thought ;-)</div>
<div><br></div><div>Regards</div><span><font color="#888888"><div><br></div><div>Brian</div><div><br></div><div><br><div class="gmail_quote"><br></div></div>
</font></span><br></div></div><div class="im">_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">Talk-GB@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-gb" target="_blank">http://lists.openstreetmap.org/listinfo/talk-gb</a><br>
<br></div></blockquote></div><br><br clear="all"><div class="im"><div><br></div>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Graham Jones<div>Hartlepool, UK.</div><br>
</div>