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.
Regards, Warren -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Georg Kaspar Sent: 04 May 2010 10:59 AM To: [email protected] Subject: [Mapnik-users] generate_tiles.py exits with cryptical error Dear list, I encounter an error when trying to generate tiles using the dedicated script. Hopefully someone can help me :) best regards, Georg > $ MAPNIK_MAP_FILE="osm.xml" MAPNIK_TILE_DIR="/data/tiles/" ./generate_tiles.py > render_tiles( (5.8646997220000001, 47.267172500000001, 15.048670832999999, > 55.117549167) osm.xml /data/tiles/ 1 11 Germany ) > Traceback (most recent call last): > File "./generate_tiles.py", line 199, in <module> > render_tiles(bbox, mapfile, tile_dir, 1, 11 , "Germany") > File "./generate_tiles.py", line 129, in render_tiles > renderer = RenderThread(tile_dir, mapfile, queue, printLock, maxZoom) > File "./generate_tiles.py", line 59, in __init__ > mapnik.load_map(self.m, mapfile, True) > UserWarning: Missing required attributes: type width height in > PointSymbolizer in style 'points' _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

