Bug report #10366

Rule based Filter Test always reports 0 feature

Added by Saber Razmjooei over 6 years ago. Updated over 6 years ago.

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

Description

To reproduce the bug:
Open a line shapefile
Select rule based styling
Add an expression for the Filter
Click on Test:
Filter returns (0) features

Same behaviour in master and 2.2


Related issues

Related to QGIS Application - Bug report #14758: Wrong feature count for rules with geometry expression Closed 2016-05-03

Associated revisions

Revision b49ce335
Added by Martin Dobias over 6 years ago

Fix #10366 (geometry functions not working in rule test)

History

#1 Updated by Saber Razmjooei over 6 years ago

I used $area of the geometry as a part of my expression.
The Count for each rule also report 0.

It works fine with field expression.

#2 Updated by Martin Dobias over 6 years ago

  • Status changed from Open to Closed

#3 Updated by Saber Razmjooei over 6 years ago

the first part of the problem which was related to Test works fine. But the feature count still shows 0 features. It might be related to #5768

Also available in: Atom PDF