[OSM-dev] generate image failed

Andre Joost andre+joost at nurfuerspam.de
Thu Feb 2 06:32:51 GMT 2012


Am 02.02.2012 03:42, schrieb Anwar Azulfa:
> Hi All,
>
> I try to genenerate image with mapnik on my other server,But if's failed
>
> i got error message like :
>
> *$./generate_image.py *
> *Traceback (most recent call last):*
> *  File "./generate_image.py", line 42, in<module>*
> *    mapnik.load_map(m,mapfile)*
> *RuntimeError: Required attribute 'name' is missing in TextSymbolizer in
> style 'area-text'*

..

> *Source: mapnik*
> *Version: 0.7.1-6*
>
>
>
> What's the error ?
> what should i do ?
>

The osm.xml style file you used is made for mapnik 2
Either install that, or use the mapnik-german style from svn, which 
still expects mapnik 0.7

HTH,
ajoessen





More information about the dev mailing list