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
  
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

Reply via email to