Bug report #18074

[cluster renderer] Data defined values using a field have no effect on non clustered symbols

Added by Dominique Lyszczarz about 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25970

Description

I'm trying to setup some data defined values in combinaison of point cluster renderer. In the example available in attachment, I've defined the non clustered symbol with a circle which use a data defined offset based on 2 fields folowing this expression : array_to_string(array("offx", "offy"))

In this example the defined expression has no effect however if I use some aggregate function : array_to_string(array(maximum("offx"), maximum("offy"))) it works while not clustered symbols does not need any aggregate and futhermore the resulting value become the same for each features (maximum of all features's values).

In the same way, trying to setup an offet for the cluster symbol using the maximum function seems to cumpute the maximum value of each feature instead of only the clustered ones.

Associated revisions

Revision ac28714a
Added by Nyall Dawson about 6 years ago

Fix data defined properties in cluster/displacement renderer
do not evaluate for isolated features

Fixes #18074

History

#1 Updated by Nyall Dawson about 6 years ago

  • Pull Request or Patch supplied changed from No to Yes

#2 Updated by Nyall Dawson about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF