Bug report #15544

Graduated symbolgy: feature count fails if classes created with an expression that includes a geometry function

Added by Giovanni Manghi over 7 years ago. Updated over 5 years ago.

Assignee:Nyall Dawson
Category:Map Legend
Affected QGIS version:2.16.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23467


tested on QGIS >= 2.8

created symbology classes with an expression like


it all works fine, except then the feature count for the resulting classes, that it is always set to 0.

Associated revisions

Revision b5867bff
Added by Nyall Dawson over 5 years ago

Fix legend count is 0 if graduated/categorized expression uses geometry

Likely fixes many other bugs too with graduated/categorized renderers

Fixes #15544


#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to In Progress
  • Assignee set to Nyall Dawson
  • Description updated (diff)

#4 Updated by Nyall Dawson over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF