Bug report #5768

Legend: Show Feature Count not working for Rule-Based Layers

Added by Andreas Neumann over 7 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:15269

Description

In the legend tree in the Layers panel one can activate the "Show Feature Count". For rule-based layers, it does not work and only zero values are displayed.

Associated revisions

Revision 558245c8
Added by Radim Blazek almost 7 years ago

count features in legend for rule based renderer, fixes #5768

History

#1 Updated by Regis Haubourg about 7 years ago

Confirmed for me on every version I have tested (from 1.7.4 to current master).

#2 Updated by Paolo Cavallini about 7 years ago

  • Target version set to Version 2.0.0

#3 Updated by Radim Blazek almost 7 years ago

  • Status changed from Open to Closed

#4 Updated by Radim Blazek almost 7 years ago

  • Resolution set to fixed

Fixed in master.

Attention: one feature may fall into more rules and thus it may be counted more times and total will not be equal to total number of features!

Work done by Faunalia for Agence de l'eau Adour Garonne.

Also available in: Atom PDF