Bug report #19282

Data-defined legend is broken if "map units" are used

Added by robert kalasek over 5 years ago. Updated almost 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Map Legend
Affected QGIS version:3.7(master) Regression?:No
Operating System:tested with mac and windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27110

Description

symbol sizing with size assistant returns properly scaled symbols in the qgis/layer tree and the copmposer legend properties tool but doesn't show any symbols in the print composers' map legend at all.
a workaround which was done by unsing the layer styling / advanced / data-defined size legend returned valid results on any level if units are of "Milimeter", "Points" or "Pixels"
but if "Meters at Scale" or "Map Units" are used symbol size and symbol labelling in the legend are faulty and (!) do not match to sizes used within the map.
for exaples pls se the corresponding question in stackexchange
https://gis.stackexchange.com/questions/287514/qgis-composer-symbol-size/287547?noredirect=1#comment460764_287547

rk

legend_broken.PNG (80.5 KB) Anita Graser, 2019-04-17 07:23 PM

History

#1 Updated by Anita Graser almost 5 years ago

  • Affected QGIS version changed from 3.2 to 3.7(master)
  • Category changed from Symbology to Map Legend
  • Subject changed from qgis and print composer - symbol size / size asisstant to Data-defined legend is broken if "map units" are used
  • File legend_broken.PNG added

I can confirm that this is still an issue in current master

Also available in: Atom PDF