Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-17 Thread Udo Giacomozzi
Hello Dirk-Lüder,

Monday, March 16, 2009, 7:45:30 PM, you wrote:

 So, is bulk downloading as described above allowed?

DLK Probably not


Ok, I'm trying to set up my own Mapnik server now...




___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Udo Giacomozzi
I'd like to download a portion of the OSM map tiles (from
tile.openstreetmap.org) for offline usage /and/ to offload the OSM
server for the projects where I'm using OSM maps (which are used by
several users). 

Currently the area of interest contains 587001 tiles at zoom level 18.
Is it okay if I download all tiles using a custom script? To keep the
load for the OSM servers at a minimum I would only use a single thread
PHP script and keep the HTTP connection between requests alive so that
unnecessary TCP overhead is avoided.

Once downloaded all tiles, I would then keep them up to date by using
the changes request of the OSM API.


Later I will probably extend the area to central Europe but then it's
probably better to install my own Mapnik renderer. However, for the
moment this seems a bit too complicated to me and I need the finished
tiles for offline usage anyway.


So, is bulk downloading as described above allowed?

Udo



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Dirk-Lüder Kreie
Udo Giacomozzi schrieb:
 I'd like to download a portion of the OSM map tiles (from
 tile.openstreetmap.org) for offline usage /and/ to offload the OSM
 server for the projects where I'm using OSM maps (which are used by
 several users). 
 
 Currently the area of interest contains 587001 tiles at zoom level 18.
[...]
 So, is bulk downloading as described above allowed?

Probably not, because lots of the tiles would need to be rendered
especially for you.  tiles.openstreetmap.org basically only renders
tiles that are looked at at all, so bulk-requesting areas will force
large areas to render to the highest detail.
So either you put up a tileCache, or, better yet, render tiles yourself.
It's not *that* hard to set up if you have your own server.

This is not official word on this, the admins (like TomH) get the last
say on this.
-- 

Dirk-Lüder Deelkar Kreie
Bremen - 53.0952°N 8.8652°E



signature.asc
Description: OpenPGP digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Chris Browet

 Probably not, because lots of the tiles would need to be rendered
 especially for you.  tiles.openstreetmap.org basically only renders
 tiles that are looked at at all, so bulk-requesting areas will force
 large areas to render to the highest detail.


Not true, AFAIK. Tiles are rendered as a whole once a week.
I think there is a confusion with t...@h (tah.openstreetmap.org)

- Chris -
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Thomas Wood
2009/3/16 Stephan Plepelits sk...@xover.htu.tuwien.ac.at:
 On Mon, Mar 16, 2009 at 08:34:19PM +0100, Chris Browet wrote:
      Probably not, because lots of the tiles would need to be rendered
      especially for you.  _ t_ i_ l_ e_ s_ ._ o_ p_ e_ n_ s_ t_ r_ e_ e_ t_ 
 m_ a_ p_ ._ o_ r_ g basically only renders
      tiles that are looked at at all, so bulk-requesting areas will
      force
      large areas to render to the highest detail.

 Not true, AFAIK. Tiles are rendered as a whole once a week.
 I think there is a confusion with t...@h (_ t_ a_ h_ ._ o_ p_ e_ n_ s_ t_ r_ 
 e_ e_ t_ m_ a_ p_ ._ o_ r_ g)
 No, it's true. The tiles are rendered on demand, using mod_tile. So if
 nobody looks at a tile, it's not being rendered. Rendering everything to
 the highest detail would take awful long.

 Every Wednesday the database is updated to the newest version, from that
 time on you get new tiles (or if the load is to high still an old version
 or no picture if it has never been rendered before).

 greetings,
        Stephan

Still not quite. It's updated hourly now.

And I had a feeling that it updated larger 8x8 metatiles at a time. I
had a feeling that it cascaded down zoom levels, but it doesn't seem
to be documented if so.

-- 
Regards,
Thomas Wood
(Edgemaster)

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Dirk-Lüder Kreie
Chris Browet schrieb:
 Probably not, because lots of the tiles would need to be rendered
 especially for you.  tiles.openstreetmap.org basically only renders
 tiles that are looked at at all, so bulk-requesting areas will force
 large areas to render to the highest detail.

 
 Not true, AFAIK. Tiles are rendered as a whole once a week.
 I think there is a confusion with t...@h (tah.openstreetmap.org)

t...@h is the project that renders everything in advance. Udo could talk to
Sebastian Spaeth if he wants tiles from there, he takes care of the tah
server, I'm just a client-side dev.

-- 

Dirk-Lüder Deelkar Kreie
Bremen - 53.0952°N 8.8652°E



signature.asc
Description: OpenPGP digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bulk downloading of Mapnik tiles

2009-03-16 Thread Andy Allan
On Mon, Mar 16, 2009 at 8:21 PM, Thomas Wood grand.edgemas...@gmail.com wrote:

 And I had a feeling that it updated larger 8x8 metatiles at a time. I
 had a feeling that it cascaded down zoom levels, but it doesn't seem
 to be documented if so.

Yep, mod_tile does metatiles, but it doesn't do any zoom-level cascading.

Cheers,
Andy

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev