Bug report #16305

Updated by Nyall Dawson over 3 years ago

As a QGIS user

I want to access a WMS and have a legend appear in the Layers panel

So that I can match the feature classes to a legend item



Details:

Given this WMS: <pre>http://ec.gc.ca/arcgis/services/data/90be49bd-e492-4251-9082-b756434b8c45/MapServer/WMSServer?request=getcapabilities&version=1.3.0&service=wms&layers=Canadian%20Protected%20Areas%20/%20Aires%20prot%C3%A9g%C3%A9es%20du%20Canada</pre>



I should get this legend item: <pre>http://ec.gc.ca/arcgis/services/data/90be49bd-e492-4251-9082-b756434b8c45/MapServer/WmsServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=0</pre>



QGIS 2.18: works

QGIS 2.99 nightly build (within OSGEO4W Installer) legend fails with "Returned legend images flawed"

Back