Feature request #5963

too much decimals in graduated style classification

Added by Regis Haubourg over 4 years ago. Updated over 2 years ago.

Status:Closed Start Date:07/06/2012
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - High Priority
Platform: Resolution:fixed/implemented
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


On QGIS 1.8, when classifying data on numerical values, the assistant uses 4 decimals by default, even if data is stored with on or two decimals.
This is time consuming to manually correct displayed class labels. See images attached
If real values have more than 4 decimal, it seems ok to mee to truncate.

feature_decimal_legend_1.jpg (34.1 kB) Regis Haubourg, 07/06/2012 06:06 am

feature_decimal_legend_2.jpg (23.3 kB) Regis Haubourg, 07/06/2012 06:06 am


Updated by Paolo Cavallini over 4 years ago

  • Target version set to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Simon Dedman almost 3 years ago

+1 for this. It would be nice to have an input field for the number of decimal places the users wants (or an up/down arrow which displays the number) AND a radio button saying something like "tie to most precise value" so if the users data are all integers, 0dp, if they're mostly 1dp but one is 2dp, it's 2dp, etc.

Updated by Antonio Locandro almost 3 years ago


Also please notice what happens to 44.1200 it is on two classes, really it should go

- 44.1200
44.1201 -

This would depend on the number of decimals of course

Updated by Regis Haubourg almost 3 years ago

Can anyone raise the priority to high. I think that QGis is become a real professional tool for mapping now. Also, this will let that issue come in my immediate funding list.

Updated by Giovanni Manghi almost 3 years ago

  • Category set to Symbology
  • Priority changed from Low to Normal
  • Target version changed from Future Release - Nice to have to Future Release - High Priority

Updated by Regis Haubourg almost 3 years ago


Updated by Nathan Woodrow over 2 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed/implemented

You can now be controlled in 2.6

Also available in: Atom