Hi All, Sorry that this is a bit basic, but I have been struggling a bit and want to make sure I understand!
I have used the introduction to using mapnik xml stylesheets in the tutorial (http://trac.mapnik.org/wiki/XMLGettingStarted), and it works fine with mapnik-0.7. If I try to do something very similar with mapnik2 (including today's svn revision 2259) the map I get has a transparent background and all the rendering is in black, rather than my specified colours. I have had a look at the rundemo.py script in the archive and worked out that the things I need to change are: - In the <Map> definition change 'bgcolor' to 'background-color' - In the styles, do not use the 'CSSParameter' constructs, but instead do things like <LineSymbolizer stroke='#FF0000'> Is that right? Is there a wiki page somewhere summarising the XML differences between mapnik-0.7 and mapnik2? I can't find it! I must admit that I never really understood why the 'CssParameter' constructs were used - is this something to do with cascadenik? I think the one that works for me looks neater anyway, but wonder if I am removing compatibility with some other utility if I take all of the CssParameter terms out of my stylesheets? If there is no equivalent to http://trac.mapnik.org/wiki/XMLGettingStarted for manik2, would it be helpful for me to produce a mapnik2 version of it? Sorry for the basic questions! Graham. Hartlepool, UK
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

