Ah yes, all the statistical summaries are computed here: https://github.com/qgis/QGIS/blob/2aa2040e77b1682f00b4e00a4f19c8ff268e9499/src/core/qgsstatisticalsummary.cpp
and there its defined as the number of items in the thing that is storing the item values: case Variety: return mValueCount.count(); On Tue, Oct 20, 2015 at 6:25 PM, Rowlingson, Barry <b.rowling...@lancaster.ac.uk> wrote: > I suspect its the number of different values that the attribute takes. > So if all the chosen attribute values are "42", the variety is 1. If > all the attributes are "42" except for one which is "leopard" and one > which is "slartibartfast" then the variety is 3. > > I've got this from playing with selections from a small data set, but > I expect the source will agree with me! > > Barry > > > > On Tue, Oct 20, 2015 at 2:27 PM, matteo <matteo.ghe...@gmail.com> wrote: >> Hi all, >> I'm a little bit confused about one parameter calculated in the >> statistic panel, **Variety**. >> >> What should compute this operator? >> >> Thanks! >> >> Matteo >> _______________________________________________ >> Qgis-developer mailing list >> Qgis-developer@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer