[QGIS-Developer] QGIS Server ignores custom layer legend properties

Gerald Kogler geraldo at servus.at
Fri Dec 2 01:07:35 PST 2022


Good morning everybody,

I managed to get rid of the Band name and invert the order in a raster 
layer legend in QGIS using a custom pyqgis [1]

The problem is that the changes don't show up on QGIS Server 
GetLegendGraphic request.

Is customproperties option "legend/node-order" something QGIS Server 
doesn't have in mind? How could I achieve that, do I have to create QGIS 
Server plugin?

Thanks
Gerald

[1] 
https://gis.stackexchange.com/questions/446269/custom-layer-legend-properties-dont-show-up-on-qgis-server


More information about the QGIS-Developer mailing list