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
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
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