qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.67k stars 3.02k forks source link

WMS GetLegend Fails in QGIS 2.99 #24215

Closed qgib closed 6 years ago

qgib commented 7 years ago

Author Name: Dave Sampson (@samperd) Original Redmine Issue: 16305 Affected QGIS version: master Redmine category:web_services_clients/wms


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: ```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


I should get this legend item: ```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

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

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 6 years ago

Author Name: Nyall Dawson (@nyalldawson)


I can't reproduce - I get the exact same legend in 2.18 and 2.99.

Is this still an issue on current nightlies?


Details: Given this WMS:

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

I should get this legend item:

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

QGIS 2.18: works QGIS 2.99 nightly build (within OSGEO4W Installer) legend fails with "Returned legend images flawed" to 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:

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

I should get this legend item:

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

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

qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback.