You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across #42063 and yippie, getting the legend of cascaded WMS layer is working again after a long time!
While testing this, I have discovered, that the resulting legend image of the requested layer has always a max width value of 200 px.
This does not make sense in my opinion, as it leads to labels which are to small to read, especially if the legend graphic of the original layer is much wider than 200 px.
So where is this value come from and why is it there?
My suggestion would be to just cascade the width and height of the original layer legend here instead of setting a fixed value.
Thanks for any reply!
Steps to reproduce the issue
Setting up a QGIS project to publish via QGIS Server
include a WMS layer from an external OGC service
publish the project via QGIS Server
Request the legend image of the external wms layer with a GetLegendGraphic-Request
Versions
3.34.6
Supported QGIS version
I'm running a supported QGIS version according to the roadmap.
What is the bug or the crash?
Hi there,
I came across #42063 and yippie, getting the legend of cascaded WMS layer is working again after a long time!
While testing this, I have discovered, that the resulting legend image of the requested layer has always a max width value of
200 px
.This does not make sense in my opinion, as it leads to labels which are to small to read, especially if the legend graphic of the original layer is much wider than
200 px
.So where is this value come from and why is it there?
My suggestion would be to just cascade the width and height of the original layer legend here instead of setting a fixed value.
Thanks for any reply!
Steps to reproduce the issue
Versions
3.34.6
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: