Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS legend broken for percent-encoded LegendURL's #25459

Closed
qgib opened this issue Nov 27, 2017 · 4 comments
Closed

WMS legend broken for percent-encoded LegendURL's #25459

qgib opened this issue Nov 27, 2017 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Easy fix Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Nov 27, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 17562
Affected QGIS version: master
Redmine category:web_services_clients/wms


Some WMS services, eg:

http://gisservices.noord-holland.nl/ags/services/pnh_dataservice_alg/MapServer/WMSServer?request=GetCapabilities&service=WMS

have their (valid) LegendURL's percentage-encoded in the capabilities, eg:

http://gisservices.noord-holland.nl/ags/services/pnh_dataservice_alg/MapServer/WmsServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=Bouwen op slappe grond - Damwand complexiteit

While this was working in 2.18/qt4, this returns a 'flawed image' in 2.99 because QGIS adds a second &FORMAT=image/png to the url, while the server can apparently only handle one.

I'll add a Pull Request to fix this.

@qgib
Copy link
Contributor Author

qgib commented Nov 27, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


This is apparently an ArcGis server: http://gisservices.noord-holland.nl/ags/services/pnh_dataservice_alg/MapServer/

@qgib
Copy link
Contributor Author

qgib commented Nov 27, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


see #5739

@qgib
Copy link
Contributor Author

qgib commented Nov 30, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


Applied in changeset f6ffb00.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Nov 30, 2017
@qgib
Copy link
Contributor Author

qgib commented Nov 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore Easy fix labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Easy fix Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant