[mapserver-users] MapCache and GetLegendGraphic
Jeff McKenna
jmckenna at gatewaygeomatics.com
Thu May 8 07:34:44 PDT 2014
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/
More information about the MapServer-users
mailing list