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 about 6 years ago. Updated about 6 years ago.

Status:Open
Priority:Normal
Assignee:-
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

Description

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)
to
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

History

#1 Updated by Florent Monkerhey about 6 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 about 6 years ago

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

Also available in: Atom PDF