Bug report #10590

qgis-server - wrong legend when mapunit and categorized

Added by aperi2007 - almost 10 years ago. Updated over 9 years ago.

Category:QGIS Server
Affected QGIS version:2.2.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18995



I set a legend using categorized rendering, and map-unit.
I set a huge dimension 200px for map-unit to see it visible at a low scale.

The legend is well created on qgis desktop, instead in qgis-server is really wrong.

This is the result on qgis-server:


I attach also the qml used for this result.
The qgis is from the master, 2 day old.

sample.zip - the qml used in qgis-server (2.23 KB) aperi2007 -, 2014-06-14 01:16 PM


#1 Updated by aperi2007 - almost 10 years ago

forgot the qml.

#2 Updated by Martin Dobias over 9 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

I believe this is now fixed in master after reworking of qgis server legend with new QgsLegendRenderer. Please reopen if not.

Also available in: Atom PDF