[OSM-dev] downloading partial tilesets to serve locally

Tom Lancaster tom at newhanoian.com
Mon Jan 5 09:40:27 GMT 2009


On Mon, Jan 5, 2009 at 4:10 PM, Frederik Ramm <frederik at remote.org> wrote:

> Hi,
>
> Tom Lancaster wrote:
>
>> newhanoian.com has been leading an effort to complete the OSM Hanoi map
>> recently, and we're at a point where we'd like to use OSM tiles in place
>> of
>> our custom Gmaps + tilelayer solution. Since we're in vietnam we'd like to
>> download a tileset for Hanoi and the surrounding area and serve it from
>> our
>> server rather than rely on tile.openstreetmap.org, which is
>> network-distant.
>>
>> I've read a lot of stuff on the wiki, but I don't see how to do this
>> without
>> downloading the whole world's tileset. It would seem it's possible as I
>> can
>> download data for a limited area to JOSM.
>>
>
> You might suffer from some confusion regarding raw data vs. tiles here. You
> can download the raw data for the whole world from
> planet.openstreetmap.org, or sections thereof from third parties, in your
> case the best bet would probably Cloudmade's country excerpt:
>
> http://downloads.cloudmade.com/asia/vietnam
>
> You can then use a local Mapnik installation (
> http://wiki.openstreetmap.org/wiki/Mapnik) to generate your own tiles.
>
> If you're only after a small area (say, up to one level-10 tile) then you
> can also use the tiles at home software to generate your tiles directly from
> live data (it will download the required bits); tiles at home normally
> uploads the generated tiles to the server but also has a "localSlippymap"
> config option that lets you create tiles on disk. Tiles at home is painfully
> slow compared to Mapnik but a bit easier to set up.
>
> 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 openstreetmap.org and surf through
> all of Hanoi once...
>

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.

Thanks,

Tom

>
> Bye
> Frederik
>
>


-- 
Director of Technology - The New Hanoian
www.newhanoian.com - tom at newhanoian.com
+84 904 343 601
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090105/b4b5a1c5/attachment.html>


More information about the dev mailing list