Re: [Qgis-user] Error in Zonal statistic ?

2020-05-07 Thread Lene Fischer
Ahh that might explain the situation. It just 44 pixels – and with the very 
long decimal – they are for sure all different.
I might shorten the decimals.
Thanks


Lene Fischer
From: Pedro Venâncio 
Sent: 7. maj 2020 12:07
To: Lene Fischer 
Cc: qgis-user 
Subject: Re: [Qgis-user] Error in Zonal statistic ?

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 
mailto: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 ☺

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<mailto:l...@ign.ku.dk>


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org>
List info: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=02%7C01%7Clfi%40ign.ku.dk%7C4d648a4d5bba431aef6008d7f26e7603%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637244428555705753=PKGdWKLvkbONJ6p7DLkWKj4UoOJsBHHc52dCZk%2FT%2BnY%3D=0>
Unsubscribe: 
https://lists.osgeo.org/mailman/listinfo/qgis-user<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user=02%7C01%7Clfi%40ign.ku.dk%7C4d648a4d5bba431aef6008d7f26e7603%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637244428555705753=PKGdWKLvkbONJ6p7DLkWKj4UoOJsBHHc52dCZk%2FT%2BnY%3D=0>
___
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

Re: [Qgis-user] Error in Zonal statistic ?

2020-05-07 Thread Pedro Venâncio
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  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

[Qgis-user] Error in Zonal statistic ?

2020-05-07 Thread Lene Fischer
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 :)

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] Error with zonal statistic

2017-04-05 Thread José Carlos Guerrero Antúnez
Hi,

I try the QGIS raster tool/zonal statistic tool but it doesn't work, and I
got this message:
not a sequence See log for more details

I reinstalled the program but the problem continues.

What I can do? I needed to do some statistical calculations for a project.

I'm working with the version 2.14, OSX El Capitan.

Best regards,


José Carlos Guerrero
___
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