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

Brett Henderson brett at bretth.com
Tue Jun 10 00:20:18 BST 2008


Jon Burgess wrote:
> It should not be too hard to get mod_tile to work. I developed it
> originally on Fedora 8. The packages that you are likely to need
> installed are as follows:
>
> - Mapnik (obviously)
> - Apache packages: httpd, httpd-devel
> - APR packages: apr, apr-devel, apr-util, apr-util-devel
> - DejaVu fonts from http://dejavu.sourceforge.net
>
> You'll need to fix-up a couple of paths in the source code. The 64 bit
> library path below will need changing. The font path should be pointed
> to the location you unpack the DejaVu fonts:
>
> gen_tile.cpp:    datasource_cache::instance()->register_datasources("/usr/local/lib64/mapnik/input");
> gen_tile.cpp:    load_fonts("/usr/local/lib64/mapnik/fonts", 0);
>   
Cool, thanks for the tips.  I'll have a go this evening and see if I can 
get it up and running.
> I imagine you may run into problems if you need some foreign font glyphs
> not provided by DejaVu. You might need to substitute some alternate
> font.
>   
Okay, I'll play this bit by ear.  At this point the main objective is to 
get maps rendered, we have a bit more time to iron out the more cosmetic 
issues.  It sounds like this one might take some time to straighten out :-)





More information about the dev mailing list