Bug report #19884

When using atlas and a data override symbol style with the assistant, symbol does not display in the legend unless the coalesce function is removed

Added by cris c over 5 years ago. Updated over 5 years ago.

Category:Map Composer/Printing
Affected QGIS version:3.4.1 Regression?:No
Operating System:win10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27708


I have a project with a soil analysis layer whose dots are colored and size variable depending on the concentration of the element.
I have set up an atlas based on a table that loops through all the layers (elements).
The legend for the currently selected atlas item displays correctly if I manually change each symbol size. It does not display a dot at all if the assistant is used to set the data driven override for symbol sizes. It will show the dots, albeit without a change in size, if I change the function from:
coalesce(scale_exp("ChosenElement", 0, 75, 1.5, 3, 0.5), 0)
scale_exp("ChosenElement", 0, 75, 1.5, 3, 0.5)

assistant set sizes.PNG - if the data override size assistant is used (14.4 KB) cris c, 2018-09-18 05:57 PM

manually set sizes.PNG - if the symbols are manually set (15.7 KB) cris c, 2018-09-18 06:10 PM

data set sizes no coalesce.PNG - if the data override size without coalesce (15.6 KB) cris c, 2018-09-18 06:10 PM


#1 Updated by Florent Monkerhey over 5 years ago

I have the same problem with the last version 3.4.1

In 2.18.17, there is no problem.

#2 Updated by Giovanni Manghi over 5 years ago

  • Affected QGIS version changed from 3.3(master) to 3.4.1

Also available in: Atom PDF