[mapserver-users] TR: SLD_BODY - getlegendgraphics

TASSE Gilles gilles.tasse at alyotech.fr
Thu Sep 3 00:13:53 PDT 2009


Hello,

I am trying to get a image of my legend via legendGraphic using SLD_BODY but the SLD_BODY param is ignored and I always have the style that is defined for the layer in the mapfile.
Here is my request :

http://gis.api.fr/geoserv/?REQUEST=GetLegendGraphic&LAYER=troncon_vue&WIDTH=20&HEIGHT=20&SLD_BODY=<Rule><LineSymbolizer><name>xxx</name><Geometry></Geometry><Stroke><CssParameter name="stroke">%23000000</CssParameter><CssParameter name="stroke-width">2</CssParameter></Stroke></LineSymbolizer></Rule>&VERSION=1.1.1&FORMAT=image/png

I am tried both on a linux and windows mapServer version.
Would you have a suggestion ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090903/c09e3d70/attachment.htm>


More information about the MapServer-users mailing list