You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new symbology mode, at least in 1.8.0, several classification modes render negative real values as though they were positive values. This occurs with Quantile, Natural Breaks and Standard Deviation classifications. It also fails completely to classify percentages stored as reals (-1 to 1) in Equal Interval and Pretty Breaks modes.
I have import data (from either CSV or XLS) and join it to a vector layer. The data is attached, although with identifying information stripped out because it's embargoed.
The values range from -0.0791 to 0.0165 and are stored as reals. The classifications are a mess; for instance, here's the classification in Quantile mode, in order from lightest color to darkest for 7 categories:
I don't know why it includes three categories of 0-0, but it leads to misleading categorization. The data has a MIN() of -0.0791 so it should be something like
Can you check if this is a regression since 1.7.4?
Short answer: no. I never upgraded from 1.7.1 to 1.7.4 (lazy) but this issue is present in 1.7.1. It's hard to believe I never had a data set consisting of mostly negative reals with 1.7!
Note: I discovered one issue that is a red herring. The weirdness with the excess 0.00 values listed above is actually a problem with the dataset the database reporter generated, which only showed up in quantiles mode. Too many null values. This is not an issue with the Quantiles categorization. The negative numbers issue remains if I change the mode, however.
Here is the Jenks categorization for 1.7.1 and 1.8.0:
Fixed in changeset "7c0746b091498dbe741c34396f7da5bff51030da".
status_id was changed from Open to Closed
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Symbology
Related to vector layer symbology or renderers
labels
May 24, 2019
Author Name: Wes Meltzer (Wes Meltzer)
Original Redmine Issue: 6096
Affected QGIS version: master
Redmine category:symbology
In the new symbology mode, at least in 1.8.0, several classification modes render negative real values as though they were positive values. This occurs with Quantile, Natural Breaks and Standard Deviation classifications. It also fails completely to classify percentages stored as reals (-1 to 1) in Equal Interval and Pretty Breaks modes.
I have import data (from either CSV or XLS) and join it to a vector layer. The data is attached, although with identifying information stripped out because it's embargoed.
The values range from -0.0791 to 0.0165 and are stored as reals. The classifications are a mess; for instance, here's the classification in Quantile mode, in order from lightest color to darkest for 7 categories:
0.0000 - -0.0342
-0.0342 - -0.0185
-0.0185 - 0.0000
0.0000 - 0.0000
0.0000 - 0.0000
0.0000 - 0.0000
0.0000 - 0.0165
I don't know why it includes three categories of 0-0, but it leads to misleading categorization. The data has a MIN() of -0.0791 so it should be something like
-0.0791 - -0.0345
-0.0342 - -0.0185
-0.0185 - 0.0000
0.0000 - 0.0165
off the top of my head, although of course that's only 4 categories. There are 56 data points, so it's not for lack of trying.
The text was updated successfully, but these errors were encountered: