YES ! thanks you On Wed, Sep 14, 2011 at 5:01 PM, Meine Toonen <[email protected]>wrote:
> ** > Just as the error says: you have to include the "layer" parameter, instead > of the "layerS" parameter. So change layers to layer and you should be fine. > > Met vriendelijke groet, > > Meine Toonen > B3Partners BV > Tel: 030 214 2083 > > ------------------------------ > *From:* Tonton [mailto:[email protected]] > *To:* mapserver-users [mailto:[email protected]] > *Sent:* Wed, 14 Sep 2011 16:57:20 +0200 > *Subject:* [mapserver-users] GetLegendGraphic with SLD missing mandatroy > layer parameter > > > hello > i try to obtain legendgraphic from mapserv with a sld definition but it > seems i forgot a parameter in my request > > > http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/mapfile/29411.map&SLD=http://192.168.12.60/media/sld/29411.sld&LAYERS=29411&FORMAT=image/png&TRANSPARENT=true&VISIBILITY=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&WIDTH=200&HEIGHT=100<http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/mapfile/29411.map&SLD=http://192.168.12.60/media/sld/29411.sld&LAYERS=29411&FORMAT=image/png&TRANSPARENT=true&VISIBILITY=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYERS=29411&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=4.760774711589825,45.72893975925065,4.974066894457241,45.78262308062963&WIDTH=200&HEIGHT=100> > > WMS server error. Mandatory LAYER parameter missing in GetLegendGraphic > request > > does someone know about it ? > > regards > > T. > >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
