[mapserver-dev] 5.2rc1: GetLegendGraphic change?

bartvde at osgis.nl bartvde at osgis.nl
Fri Jul 11 07:53:52 EDT 2008


Hi list,

using 5.2rc1, something changed, my GetLegendGraphic requests are not
working anymore.

A request like:
http://test.intranet.rijkswaterstaat.nl/services/geoservices/basispakket/nationaalwegenbestand?service=WMS&format=image/png&request=GetLegendGraphic&version=1.1.1&layer=AAA62

yields now an exception:
<?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="StyleNotDefined">
msWMSGetLegendGraphic(): WMS server error. style used in the STYLE
parameter is not defined on the layer.
</ServiceException>
</ServiceExceptionReport>

Which I don't get since STYLE is an optional parameter.

Did something break?

Best regards,
Bart



More information about the mapserver-dev mailing list