Bug report #13999

"Show feature count" on a rule based gives wrong result for the "ELSE" statement.

Added by Etienne Trimaille over 4 years ago. Updated over 2 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:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22013

Description

If we set a rule based with an "ELSE" statement, the feature count is wrong. It shows the total number of features in the layer. But it should be less as some other features are counted by the previous rules.

However, features in the "ELSE" are not rendered twice, that's good.

rule_based.png (19.7 KB) Etienne Trimaille, 2015-12-16 05:17 AM

feature_count.png (9.25 KB) Etienne Trimaille, 2015-12-16 05:17 AM

Associated revisions

Revision 58b3e200
Added by Paul Blottiere over 2 years ago

Fixes #13999: feature count on rule based renderer is valid for ELSE statement

History

#1 Updated by Saber Razmjooei about 4 years ago

  • Category changed from Vectors to Symbology

#2 Updated by Giovanni Manghi about 3 years ago

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

#3 Updated by Paul Blottiere over 2 years ago

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

Also available in: Atom PDF