[OSM-dev] issues with OfflineOSM

kardan dev at diy-biogas.eu
Mon Feb 25 01:10:39 UTC 2013


Greetings,

I try to install a local OSM server for parts of germany.
Following the wiki page [1], I end up with some issues.

1) RuntimeError: Failed to find font face 'unifont Medium' in FontSet
'book-fonts' in map 'osm.xml'

As this is activated by default[2], where to get this one? I get around
the error by removing unifont lines from inc/fontset-settings.xml.inc
which is no real solution.

2) File "./generate_tiles.py", line 64, in __init__
    mapnik.load_map(self.m, mapfile, True)
fe_sendauth: no password supplied (encountered during parsing of layer
'landcover' in map 'osm.xml')

How to deliver a password for a local pg-database?

3) inc/fontset-settings.xml.inc tells to use 

  ls `python -c "import mapnik;print mapnik.fontscollectionpath"`

to see installed fonts. This fails with "module not found" as mapnik2
replaced mapnik.

All the best,
kardan

[1] http://wiki.openstreetmap.org/wiki/Mapnik
[2] https://trac.openstreetmap.org/changeset/28035/subversion

ii  libmapnik2-2.0                         2.0.0+ds1-3+b4                     i386
ii  python-mapnik2                         2.0.0+ds1-3+b4                     i386
ii  ttf-unifont                            1:5.1.20080914-1.3



More information about the dev mailing list