<br><br><div class="gmail_quote">On Mon, Jan 5, 2009 at 4:10 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div class="Ih2E3d"><br>
<br>
Tom Lancaster wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://newhanoian.com" target="_blank">newhanoian.com</a> has been leading an effort to complete the OSM Hanoi map<br>
recently, and we're at a point where we'd like to use OSM tiles in place of<br>
our custom Gmaps + tilelayer solution. Since we're in vietnam we'd like to<br>
download a tileset for Hanoi and the surrounding area and serve it from our<br>
server rather than rely on <a href="http://tile.openstreetmap.org" target="_blank">tile.openstreetmap.org</a>, which is network-distant.<br>
<br>
I've read a lot of stuff on the wiki, but I don't see how to do this without<br>
downloading the whole world's tileset. It would seem it's possible as I can<br>
download data for a limited area to JOSM.<br>
</blockquote>
<br></div>
You might suffer from some confusion regarding raw data vs. tiles here. You can download the raw data for the whole world from <a href="http://planet.openstreetmap.org" target="_blank">planet.openstreetmap.org</a>, or sections thereof from third parties, in your case the best bet would probably Cloudmade's country excerpt:<br>
<br>
<a href="http://downloads.cloudmade.com/asia/vietnam" target="_blank">http://downloads.cloudmade.com/asia/vietnam</a><br>
<br>
You can then use a local Mapnik installation (<a href="http://wiki.openstreetmap.org/wiki/Mapnik" target="_blank">http://wiki.openstreetmap.org/wiki/Mapnik</a>) to generate your own tiles.<br>
<br>
If you're only after a small area (say, up to one level-10 tile) then you can also use the tiles@home software to generate your tiles directly from live data (it will download the required bits); tiles@home normally uploads the generated tiles to the server but also has a "localSlippymap" config option that lets you create tiles on disk. Tiles@home is painfully slow compared to Mapnik but a bit easier to set up.<br>
<br>
The alternative is downloading ready-made tiles from the tile server, but there is no off-the-shelf solution for that; you'd have to write a small perl script for that, or if you're technically inclined, just install a caching proxy between yourself and the <a href="http://openstreetmap.org" target="_blank">openstreetmap.org</a> and surf through all of Hanoi once...<br>
</blockquote><div><br>Great idea! I hadn't thought of that, and it's especially appropriate for us as we're still heavily adding to the map. That will save me having to re-make tiles weekly.<br><br>Thanks,<br>
<br>Tom <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Bye<br><font color="#888888">
Frederik<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Director of Technology - The New Hanoian<br><a href="http://www.newhanoian.com">www.newhanoian.com</a> - <a href="mailto:tom@newhanoian.com">tom@newhanoian.com</a><br>
+84 904 343 601<br>