Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-16 Thread Martijn van Oosterhout
On Mon, Jun 16, 2008 at 8:20 AM, Brett Henderson <[EMAIL PROTECTED]> wrote: > I suspect I didn't with tilecache (not sure if it's possible), but I do > now with mod_tile. It's definitly possible, otherwise it would swiftly go awol like you saw. The config file has quite a few comments, i'm surpris

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-15 Thread Brett Henderson
I suspect I didn't with tilecache (not sure if it's possible), but I do now with mod_tile. Martijn van Oosterhout wrote: > A bit late and maybe a stupid question but: do you have metatiling > turned on. Rendering is going to really suck without it. > _

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-15 Thread Martijn van Oosterhout
A bit late and maybe a stupid question but: do you have metatiling turned on. Rendering is going to really suck without it. On Mon, Jun 9, 2008 at 8:08 AM, Brett Henderson <[EMAIL PROTECTED]> wrote: > My tilecache.cfg file contains the following entry (I assume I should > re-enable tms_type but ha

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-12 Thread OJ W
Yes, it was always designed for use with openlayers tiles Thanks to Sebastian, who fixed the slippy.html today to display pyrender tiles (typically pyrender is run as its own application, and it starts serving tiles on http://localhost:1280/layer/z/x/y.png ) http://svn.openstreetmap.org/applicati

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Brett Henderson
OJ W wrote: > It's only outline code now (i.e. no rendering rules), but pyrender > shares those objectives (render on demand, get small amounts of data > as required) > > http://svn.openstreetmap.org/applications/rendering/pyrender/ > Thanks for the info. Is this something that could be configu

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Jon Burgess
On Tue, 2008-06-10 at 08:46 +0100, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Jon Burgess <[EMAIL PROTECTED]> wrote: > > > The recent Mapnik builds try to mmap() the shapefiles while > > rendering[1]. Since the largest shapefile is a few hundred MB this could > > easily cause som

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Tom Hughes
Jon Burgess wrote: > On Tue, 2008-06-10 at 10:40 +0200, Frederik Ramm wrote: > >>> Um... no. At least not if it does the sensible thing and maps it >>> for shared read. >> I don't think it is even possible to mmap somthing for "private read". >> The boost lib only ever sets the SHARED flag when i

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Jon Burgess
On Tue, 2008-06-10 at 10:40 +0200, Frederik Ramm wrote: > Hi, > > > Um... no. At least not if it does the sensible thing and maps it > > for shared read. > > I don't think it is even possible to mmap somthing for "private read". > The boost lib only ever sets the SHARED flag when it wants write

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Frederik Ramm
Hi, > Um... no. At least not if it does the sensible thing and maps it > for shared read. I don't think it is even possible to mmap somthing for "private read". The boost lib only ever sets the SHARED flag when it wants write access: void* data = ::mmap( hint, pimpl_->size_, re

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-10 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Jon Burgess <[EMAIL PROTECTED]> wrote: > The recent Mapnik builds try to mmap() the shapefiles while > rendering[1]. Since the largest shapefile is a few hundred MB this could > easily cause some issues if the file was mmap'd multiple times in a > single proc

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-09 Thread Jon Burgess
On Mon, 2008-06-09 at 18:48 +1000, Brett Henderson wrote: > Tom Hughes wrote: > > I may be being dense here, but this is openstreetmap-talk (not > > even dev) not tilecache-talk... Is there not somewhere better you > > should be going to with this where there will be experts in tilecache > > that c

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-09 Thread OJ W
It's only outline code now (i.e. no rendering rules), but pyrender shares those objectives (render on demand, get small amounts of data as required) http://svn.openstreetmap.org/applications/rendering/pyrender/ Various versions of that can go to an OSM API for data, or use a [[Tile Data Server]].

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-09 Thread Karl Newman
On Sun, Jun 8, 2008 at 11:08 PM, Brett Henderson <[EMAIL PROTECTED]> wrote: > Hi All, > > Just to give some background on what I'm trying to do here. I'm helping > a team in Myanmar setup a software package called Sahana which is an > open source disaster response package. It will be used to hel

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-09 Thread Brett Henderson
Tom Hughes wrote: > I may be being dense here, but this is openstreetmap-talk (not > even dev) not tilecache-talk... Is there not somewhere better you > should be going to with this where there will be experts in tilecache > that can help you? > I've sent an email to the tilecache mailing list,

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-09 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Brett Henderson <[EMAIL PROTECTED]> wrote: > I am trying to use tilecache to generate mapnik tiles but have run into > the issue described in my previous email. It is probably something > screwy with the way I've configured things but I've been unable to

Re: [OSM-talk] Mapnik Tilecache Memory Error (Myanmar Cyclone Relief)

2008-06-08 Thread Brett Henderson
Hi All, Just to give some background on what I'm trying to do here. I'm helping a team in Myanmar setup a software package called Sahana which is an open source disaster response package. It will be used to help in the response to the recent Cyclone. http://www.sahana.lk/ It has a map compon