Bug report #18074
[cluster renderer] Data defined values using a field have no effect on non clustered symbols
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
Fix data defined properties in cluster/displacement renderer
do not evaluate for isolated features
Fixes #18074
History
#1 Updated by Nyall Dawson almost 7 years ago
- Pull Request or Patch supplied changed from No to Yes
#2 Updated by Nyall Dawson almost 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|ac28714a40efc066279587a7d169470c39a4d119.
#3 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to fixed/implemented