YES ! <br>thanks you <br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 5:01 PM, Meine Toonen <span dir="ltr">&lt;<a href="mailto:meinetoonen@b3partners.nl">meinetoonen@b3partners.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<u></u>

<div>
Just as the error says: you have to include the &quot;layer&quot; parameter, instead of the &quot;layerS&quot; parameter. So change layers to layer and you should be fine.<br><br>Met vriendelijke groet,<br><br>Meine Toonen<br>
B3Partners BV<br>Tel: 030 214 2083<br><blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(0, 0, 255); margin-right: 0px;"><hr><b>From:</b> Tonton [mailto:<a href="mailto:to.tonton@gmail.com" target="_blank">to.tonton@gmail.com</a>]<br>
<b>To:</b> mapserver-users [mailto:<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>]<br><b>Sent:</b> Wed, 14 Sep 2011 16:57:20 +0200<br><b>Subject:</b> [mapserver-users] GetLegendGraphic with SLD missing mandatroy layer        parameter<div>
<div></div><div class="h5"><br><br>hello <br>i try to obtain legendgraphic from mapserv with a sld definition but it seems i forgot a parameter in my request <br><br><a href="http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/mapfile/29411.map&amp;SLD=http://192.168.12.60/media/sld/29411.sld&amp;LAYERS=29411&amp;FORMAT=image/png&amp;TRANSPARENT=true&amp;VISIBILITY=true&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetLegendGraphic&amp;LAYERS=29411&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A4326&amp;BBOX=4.760774711589825,45.72893975925065,4.974066894457241,45.78262308062963&amp;WIDTH=200&amp;HEIGHT=100" target="_blank">http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/mapfile/29411.map&amp;SLD=http://192.168.12.60/media/sld/29411.sld&amp;LAYERS=29411&amp;FORMAT=image/png&amp;TRANSPARENT=true&amp;VISIBILITY=true&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetLegendGraphic&amp;WIDTH=200&amp;HEIGHT=100</a><br>

<br>WMS server error. Mandatory LAYER  parameter missing in GetLegendGraphic request <br><br>does someone know about it ? <br><br>regards<br><br>T.<br>
</div></div></blockquote>
</div></blockquote></div><br>