[OSM-dev] Volunteers needed now. OSM for Myanmar disaster relief.

Brett Henderson brett at bretth.com
Mon Jun 9 23:30:04 BST 2008


Christopher Schmidt wrote:
> On Mon, Jun 09, 2008 at 01:25:20PM -0700, Mikel Maron wrote:
>   
>> Are you familiar with setting up Mapnik and TileCache, and other components of the OSM stack?
>>     
>
> As a comment: with the recent changes in Mapnik to mmap shapefiles,
> TileCache + OSM + Mapnik is probably a very poor path to take. The world
> boundaries shapefiles are simply too large to reasonably expect to fit
> into memory on most machines in a TileCache-like setup.
>
> At this point, I think mod_tile is the way to go for OSM tile rendering
> (much as it pains me to push people away from my own project). In Mapnik
> 0.4, it worked fine, but these new improvements, simply put, make on the
> fly rendering of more than a handful of tiles (which TileCache doesn't
> seek to prevent) impossible on all but the most powerful systems. 
>
> Regards,
>   
Hmm, I was worried this might be the response :-)

Sounds like I need to look into mod_tile then.  I initially avoided it 
because it sounded much more difficult to install and configure.

I am documenting the installation steps as I go on this wiki page.  If 
anybody is willing to put some cookbook steps on this page to install 
and configure mod_tile it would be incredibly helpful.  Note that I'm 
not expecting this server to be generating tiles for thousands of users, 
my best guess is dozens at this point.  For this reason I have already 
lowered some of the postgresql settings from those provided on the OSM 
mapnik wiki page.
http://wiki.openstreetmap.org/index.php/OnDemandTileServer

A test Myanmar dataset is available here (currently only 7MB):
http://www.bretth.com/myanmar/myanmar.osm.gz





More information about the dev mailing list