dear mapnik-users, this being my first email to this list, a short introduction: my name is harald mayer, i'm working as web manager at the austrian section of the medical humanitarian organization Médecins Sans Frontières / Doctors without Borders (MSF). after producing a series of online maps (like for example http://maps.msf.at/index.php?map=sudan2010) mainly based on the excellent (mapnik-rendered) tiles from mapbox.com, i recently started using mapnik with the intention to produce high-res, printable versions of our (kml-based) online-maps (see the first result here: http://maps.msf.at/mapnik/msf_sudan_2010.jpg).
to visualize our project-locations in a similar way as in our "online-maps", i use ShieldSymbolizers. the problem i face is the exact positioning of those: depending on the line-count of the text that the ShieldSymbolizer renders, the positioning of the label changes, somehow overruling the settings made with the "vertical_alignment"-attribute. i tried to illustrate the problem with the attached image: all ShieldSymbolizers used in this test have the same value for "dy" and show results for "vertical_alignment" bottom, top and middle; as you can see, the label is positioned in a different way depending on the line-count of the text, despite same settings for "vertical_alignment". another problem i have is that i can't figure out how to use the attribute "shield_displacement"; i've tried: shield_displacement="10,10" shield_displacement="(10,10)" shield_displacement="10" in my mapnik-XML, but none of those showed any effect. can someone point me in the right direction? thanks & kind regards, harald
shieldSymbolizerTest.png
Description: Binary data
shieldSymbolizerTest.xml
Description: Binary data
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

