Bug report #14758

Wrong feature count for rules with geometry expression

Added by Anita Graser over 4 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:Matthias Kuhn
Category:GUI
Affected QGIS version:2.14.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 #:22715

Description

In a rule based renderer, if rules use e.g. the $area function, the feature count in the legend is always 0. (Other rules work correctly)

(I've added #10366 as related, but the number of results is displayed correctly when testing the rule. )

Selection_002.png (151 KB) Anita Graser, 2016-05-03 02:20 AM


Related issues

Related to QGIS Application - Bug report #10366: Rule based Filter Test always reports 0 feature Closed 2014-05-27
Related to QGIS Application - Bug report #13473: oracle show 0 when asked for 'show feature count' in laye... Closed 2015-10-01

Associated revisions

Revision e80e5416
Added by Matthias Kuhn over 4 years ago

Show correct feature count with rule that requires geometry

Fix #14758

History

#1 Updated by Anita Graser over 4 years ago

  • Category set to Vectors

#2 Updated by Anita Graser over 4 years ago

  • Category changed from Vectors to GUI

#3 Updated by Richard Duivenvoorde over 4 years ago

Hi Anita,

what is your datasource? I had a related issue #13473 with Oracle, but that appeared to be wrong stats...

#4 Updated by Anita Graser over 4 years ago

It's just an ordinary Shapefile that I created in QGIS.

#5 Updated by Matthias Kuhn over 4 years ago

  • Assignee set to Matthias Kuhn

#6 Updated by Anonymous over 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF