Thanks John.

Looks like osm.xml needs its minimum_version parameter in <map> changed.

/Warren

-----Original Message-----
From: Jon Burgess [mailto:[email protected]] 
Sent: 04 May 2010 11:35 AM
To: Warren Vick; Georg Kaspar
Cc: [email protected]
Subject: Re: [Mapnik-users] generate_tiles.py exits with cryptical error

On 4 May 2010 11:21, Warren Vick <[email protected]> wrote:
> Hello Georg,
>
> The fault is in your XML, rather than the generate_tiles.py script. Check 
> your XML styles as you'll probably find a <PointSymbolizer>, within the 
> styles for "points", which is missing a "width" and "height" parameter for a 
> bitmap symbol.
>

I think what has happened is that the osm.xml has recently been
updated to include such a style. This only works for Mapnik-0.7 or
later.

-      <PointSymbolizer file="&symbols;/shop_supermarket.p.16.png"
type="png" width="16" height="16" />
+      <PointSymbolizer file="&symbols;/shop_supermarket.p.16.png" />

You can fix it by putting the width/height back or upgrade to Mapnik 0.7.1.
It is likely that the osm.xml will be adding more changes which need 0.7.1.

-- 
    Jon
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to