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

Meine Toonen meinetoonen at b3partners.nl
Wed Sep 14 08:01:52 PDT 2011


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:to.tonton at gmail.com]
To: mapserver-users [mailto:mapserver-users at lists.osgeo.org]
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.
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110914/0733c5a2/attachment.htm>


More information about the MapServer-users mailing list