<br><font size=2 face="sans-serif">Thanks Jeff but it happens with 3 layers
and they are not in a GROUP.</font>
<br><font size=2 face="sans-serif">If I request the legend on the  WMS
directly it works.</font>
<br><font size=2 face="sans-serif">It seems that mapcache is not sending
the LAYER parameter in some circumstances...<br>
</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jeff McKenna <jmckenna@gatewaygeomatics.com>@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2014-05-08 10:34</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [mapserver-users] MapCache and GetLegendGraphic</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>On 2014-05-08, 11:14 AM, Steve.Toutant@inspq.qc.ca
wrote:<br>
> <br>
> It is working for zoom level 9 - 19....If I zoom out at level 8 to
0,<br>
> the getLegendGraphics request returns this<br>
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no"
?><br>
> <!DOCTYPE ServiceExceptionReport SYSTEM<br>
> "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd"><br>
> <ServiceExceptionReport version="1.1.1"><br>
> <ServiceException code="LayerNotDefined"><br>
> msWMSGetLegendGraphic(): WMS server error. Mandatory LAYER parameter<br>
> missing in GetLegendGraphic request.<br>
> </ServiceException><br>
> </ServiceExceptionReport><br>
> <br>
<br>
Ah I recently hit this same error with GetLegendGraphic requests to a<br>
MapServer WMS layer.  I used the Nabble search in the MapServer forum,<br>
to read how this generic error is thrown for MapServer layers that are<br>
in a GROUP.  There are tickets and discussions about that.  Anyway,
not<br>
sure if it is related to your issue, but you could also search the<br>
archives to see what I mean.<br>
http://osgeo-org.1560.x6.nabble.com/MapServer-f4226623.html<br>
<br>
-jeff<br>
<br>
<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
http://www.gatewaygeomatics.com/<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>