Hi, your SLD_BODY is only a fragment of an SLD document, it is not complete. An SLD starts with a StyledLayerDescriptor root tag.
Bart > 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 ? > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
