[OSM-dev] generate_xml.py problem with fonts

Andre Joost andre+joost at nurfuerspam.de
Fri Feb 3 06:16:02 GMT 2012


Am 02.02.2012 23:41, schrieb Alexandre Busquets:
> Hi,
>
> I try to generate my osm.xml file with this command
> /generate_xml.py osm.xml my_osm.xml --dbname xxx --user xxx --password xxx
> --host localhost --port 5432
> but I have this error:
>
> Traceback (most recent call last):
>    File "./generate_xml.py", line 201, in<module>
>      serialize(template_xml,options)
>    File "./generate_xml.py", line 77, in serialize
>      mapnik.load_map(m,xml,True)
> RuntimeError: Failed to find font face '' in FontSet 'book-fonts'
>
> I downloaded the code from
> http://svn.openstreetmap.org/applications/rendering/mapnik/
>
> My scenario is:
> ubuntu server 10.04
> libmapnik0.7 from package
> python-mapnik from package
> mapnik-utils from package
>
>
> What is the problem?
>

The current Style files are made for mapnik2, and won't work with 0.7.1 
anymore.

HTH,
André Joost






More information about the dev mailing list