Bug report #8758

graduated classes on expression broken

Added by Regis Haubourg about 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:Martin Dobias
Category:Symbology
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17467

Description

Hi Nathan,
Only equal interval classification method is working in revision 968c321,
the other gives empty results..
Cheers
Régis

QGIS_2013-10-04-101635_Hawkeye.txt Magnifier (85.8 KB) John Tull, 2013-10-04 10:23 AM

Associated revisions

Revision a6461018
Added by Martin Dobias almost 11 years ago

Fix #8758 (graduated classes on expression broken)

History

#1 Updated by John Tull about 11 years ago

If I try to use graduated classes for styling, selecting the standard deviation option in the drop-down selector causes a crash for me. I've attached my crash log, this on OS X.

If I use equal interval, my classes are created, but no values are assigned. They are all value: 0.0-0.0.

Quantile also causes a crash when selected from the drop-down menu. Natural Breaks (Jenks) and Pretty Breaks do nothing (no classification at all).

#2 Updated by mlennert - about 11 years ago

Using the version described below, I can confirm this bug, but not the crashing part. I just can't get any other classes except for equal interval, using a very simple shapefile with 4 polygons, one integer field (population) in the attribute table and calculating the expression: "population" / ($area / 1000000)

Version de QGIS 2.1.0-Master Révision du code 1d754d9
Compilé avec Qt 4.8.5 Utilisant Qt 4.8.5
Compilé avec GDAL/OGR 1.9.0 Utilisé avec GDAL/OGR 1.9.0
Compiled against GEOS 3.3.3-CAPI-1.7.4 Running against GEOS 3.3.3-CAPI-1.7.4
Version du client PostgreSQL 9.3rc1 Version de SpatiaLite 3.1.0-RC2
Version de QWT 6.0.0-svn Version de PROJ.4 : 470

#3 Updated by Martin Dobias almost 11 years ago

  • Assignee changed from Nathan Woodrow to Martin Dobias

#4 Updated by Martin Dobias almost 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF