[mapserver-users] GetLegendGraphic with SLD missing mandatroy layer parameter

Tonton to.tonton at gmail.com
Wed Sep 14 07:57:20 PDT 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110914/e5141b36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv.png
Type: image/png
Size: 3430 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110914/e5141b36/attachment.png>


More information about the MapServer-users mailing list