Hi Lene,

Can you share a sample dataset?

I think it can be possible if the pixels have all different values, and so,
Zonal Statistics choose the minimum value as minority and majority, but it
could choose any other value, because any pixel value can be considered the
less and most represented, as they are all different.

Best regards,
Pedro Venâncio

A quinta, 7/05/2020, 09:34, Lene Fischer <l...@ign.ku.dk> escreveu:

> Hi
>
> I´m trying to calculate values in multi spectral images.
>
> When I use Zonal statistic I get the same result for _min, _minority and
> _majority
>
> Example:
>
>
>
> fid
>
> _count
>
> _mean
>
> _median
>
> _min
>
> _max
>
> _minority
>
> _majority
>
>
>
> 57
>
> 44
>
> 0.06883086238733747
>
> 0.06847017258405685
>
> 0.062062818557024
>
> 0.07621321827173233
>
> 0.062062818557024
>
> 0.062062818557024
>
>
>
> Can you confirm this error – then I´ll make a bugreport J
>
>
>
> Regards
>
>
>
>
>
> *Lene Fischer*
>
> Associate Professor
>
>
>
> *University of Copenhagen*
>
> Department of Geosciences and Natural Resource Management
>
> Forest and Landscape College
>
> Nødebovej 77a
>
> 3480 Fredensborg
>
>
>
> MOB +45 40115084
>
> l...@ign.ku.dk
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to