[OSM-talk] Missing tiles?

Dave Stubbs osm.list at randomjunk.co.uk
Wed Sep 24 16:57:28 BST 2008


On Wed, Sep 24, 2008 at 3:58 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> On Wed, Sep 24, 2008 at 9:39 AM, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
>> On Wed, Sep 24, 2008 at 2:22 PM, Lukasz Szybalski <szybalski at gmail.com> wrote:
>>> Hello,
>>> I followed the instructions on your website how to get the planet and
>>> how to generate tiles from mapnik.
>>>
>>> I got everything going. After a day I got all my tiles but when I look
>>> at the example you have put on your website,
>>>
>>> http://wiki.openstreetmap.org/index.php/Mapnik
>>>
>>> with map in
>>> http://tile.openstreetmap.org/7/63/42.png
>>>
>>> I don't seem to have /7/63 my tiles start at 7/64. could somebody on
>>> your server run this command and send me a file with a list of tiles.
>>>
>>> tree tiles >osm_tiles.txt
>>>
>>> you might need to install tree first.
>>>
>>> aptitude install tree
>>>
>>> Any idea why I might be missing some tiles?
>>>
>>
>> The tile server generates tiles using mod_tile [1].
>
> I'll look into mod_tile later, as right now I'm not servering the tiles yet.
>
> This renders them
>> on request if they haven't already been done. There are many millions
>> of tiles on the tile server, taking up GBs of space.
>>
>> If you just want prerendered tiles then you'll need to modify the area
>> being rendered by the generate_tiles script. It's currently hardcoded
>> to render some cities at the bottom of the file.
>
> So what you are saying here is that  ./generate_tiles.py with the
> default osm.xml will not generate all tiles?
>
> My tiles right now are about 4gb?
>
> If I want to render the whole planet and I want to have a tile for
> every mile of it, will ./generate_tiles.py work or I have to specify
> some additional parameters?

You'll need to modify the script. There's a line where it says "Change
the following for different bounding boxes and zoom levels" where it
starts rendering areas. It starts out with the whole world up to zoom
level 5.

You'll need to decide what the maximum zoom level you want is. Each
level is 4 times bigger than the last one, so to do everything up to
zoom 7 is about 22 thousand tiles and everything up to zoom 12 is
about 22 million. That will take up a lot of disk space and take a
very long time to render, so you probably want to be more specific
with the area to render.

Dave




More information about the talk mailing list