Re: [QGIS-Developer] Classification of values around zero

2017-09-09 Thread Pierre_Loicq
Hello,

I added a new method of classification in the graduated methods (symbology).
It is aimed at plotting data that are centered on zero, with a class around
zero (like [-1,1] instead of [-1,0],[0,1] ), and with a colorbar that stay
symmetric around zero (for this I remove the extra classes). It uses the
prettyBreaks method. If data are all positive or negative, an alert box
appear.

https://github.com/qgis/QGIS/pull/5161

Hoping that you can include it in 3.0
Thank you
Pierre (Tours, France)



Pierre_Loicq wrote
> Hi,
> 
> At the office, I often need to create map of modeled biases (float
> values), where it make sense to have a first class centered on zero
> (symbology/graduated). I learned C++ some months ago and would like to add
> this functionality as a first application, on the  master branch. 
> 
> Pierre





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Classification of values around zero

2017-07-09 Thread Pierre_Loicq
Hi,

At the office, I often need to create map of modeled biases (float values),
where it make sense to have a first class centered on zero
(symbology/graduated). I learned C++ some months ago and would like to add
this functionality as a first application, on the  master branch. The
current classification methods are: Equal interval, quantile/equal count,
jenks, Standard deviation, Pretty breaks. Although an option (ticking box)
"around zero"  may be applied for each of them (maybe not for Jenks), I
think it's better to add a classification method in the list of methods. And
it would probably run on equal intervals.

Thank you
Pierre



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Classification-of-values-around-zero-tp5327167.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer