Hi, For me MarkersSymbolizer does not completely work with 0.7.1(details pasted below previous conversation). It does work with the mapnik2 code I downloaded from trunk.
1) Can someone confirm if the MarkersSymbolizer really works with 0.7.1 as documented(if you have used it)? Or do I have to use some patch to get this feature completely(by complete I mean use the options like allow_overlap and color). 2) Or is mapnik trunk (mapnik2) is really my only option. If so, could someone comment on how risky Mapnik2 is for creating some tiles offline. In past(when it was 0.6.x), I always used the trunk, as it was (I thought!) considered to have the most recent bug fixes and relatively stable. I am not sure mapnik2 is right for only mapnik developer, or its pre beta meant for somone who really need the new features, or considered beta quality that is propbaby ok use (With your milage may vary caveat). Thanks, --Manoj. ========= Details of what didn't work form in 0.7.1============ I tried the example using following simple python script. I was able to get the lines example<http://trac.mapnik.org/browser/trunk/tests/data/good_maps/markers_symbolizer_lines.xml?rev=2158> to work partially. Not sure what I am missing. Here is what happens. 1) The image get the markerssymbolizer only on a pentagon, but not on spiral or other line. 2) The markers are blue in color (instead of colors specified in the xml). I tried giving different colors and different options, but I am not able to get the markers look different. 3) (I am hoping this might help in debugging). I am not able to change the color of line (LineSymbolizer) using attributes, but I am able to change the color using the CSSParameter tags. ie. following works, <LineSymbolizer> <CssParameter name="stroke">#347C17</CssParameter> <CssParameter name="stroke-width">2.5</CssParameter> </LineSymbolizer> but this doesn't <LineSymbolizer stroke-width=".2" stroke="red" /> #############script used to render ##### #!/usr/bin/env python import mapnik mapfile = 'markers_symbolizer_lines.xml' map_output = 'hello_world_using_xml_config.png' m = mapnik.Map(600, 600) mapnik.load_map(m, mapfile) bbox = mapnik.Envelope(mapnik.Coord(-180.0, -70.0), mapnik.Coord(180.0, 70.0)) m.zoom_to_box(bbox) mapnik.render_to_file(m, map_output)
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

