Bug report #14264

Graduated symbol generator not recognizing real numbers properly

Added by Nate Wessel about 4 years ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:2.8.1 Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:22260

Description

When using the style dialogue to generate a graduated color ramp, there is a failure to properly recognize real numbers. A color ramp will be generated, but it usually fails to see any negative values. If I wrap the variable in a toreal() function, all works as expected. The dataset I'm having problems with is stored in PostGIS and the column is definitely real. I've seen this happen on a number of different datasets.
The dangerous bit is that the error is very quiet, as the color ramp is still generated, and most of the map still renders as normal.

Using ubuntu 14.04 and QGIS 2.8.1

(this is my first time reporting a bug. please be easy on my errors and omissions)

no_toreal__.png (318 KB) Nate Wessel, 2016-02-09 08:39 PM

with_toreal__.png (341 KB) Nate Wessel, 2016-02-09 08:39 PM

out.sql.7z (2.84 MB) Nate Wessel, 2016-02-10 06:45 PM

History

#1 Updated by Nyall Dawson about 4 years ago

  • Status changed from Open to Feedback

Can you share a sql dump of your dataset? Even a partial extract which demonstrates the issue will be useful.

#2 Updated by Nate Wessel about 4 years ago

Sample data attached!
I double checked, and this does indeed still cause the same problem for me.

#3 Updated by Giovanni Manghi almost 4 years ago

  • Status changed from Feedback to Open
  • Category set to Symbology

#4 Updated by Giovanni Manghi almost 4 years ago

  • Priority changed from High to Normal

#5 Updated by Giovanni Manghi almost 3 years ago

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

#6 Updated by Giovanni Manghi about 1 year ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF