[mapserver-users] MapCache and GetLegendGraphic
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Thu May 8 07:56:09 PDT 2014
Thanks Jeff but it happens with 3 layers and they are not in a GROUP.
If I request the legend on the WMS directly it works.
It seems that mapcache is not sending the LAYER parameter in some
circumstances...
Jeff McKenna <jmckenna at gatewaygeomatics.com>@lists.osgeo.org
Envoyé par : mapserver-users-bounces at lists.osgeo.org
2014-05-08 10:34
A
mapserver-users at lists.osgeo.org
cc
Objet
Re: [mapserver-users] MapCache and GetLegendGraphic
On 2014-05-08, 11:14 AM, Steve.Toutant at inspq.qc.ca wrote:
>
> It is working for zoom level 9 - 19....If I zoom out at level 8 to 0,
> the getLegendGraphics request returns this
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE ServiceExceptionReport SYSTEM
> "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
> <ServiceExceptionReport version="1.1.1">
> <ServiceException code="LayerNotDefined">
> msWMSGetLegendGraphic(): WMS server error. Mandatory LAYER parameter
> missing in GetLegendGraphic request.
> </ServiceException>
> </ServiceExceptionReport>
>
Ah I recently hit this same error with GetLegendGraphic requests to a
MapServer WMS layer. I used the Nabble search in the MapServer forum,
to read how this generic error is thrown for MapServer layers that are
in a GROUP. There are tickets and discussions about that. Anyway, not
sure if it is related to your issue, but you could also search the
archives to see what I mean.
http://osgeo-org.1560.x6.nabble.com/MapServer-f4226623.html
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140508/c9453e8d/attachment.htm>
More information about the MapServer-users
mailing list