[Qgis-user] Extract raster cell-value statistics (min, max, count, sum) within a polygone

Michael Treglia mtreglia at gmail.com
Sun Apr 19 17:23:10 PDT 2015


Also, theres a utility in SAGA, implemented within the Processing toolbox.
See SAGA -> Shapes - Grid -> Grid statistics for polygons

Lets you calculate:
* Number of Cells
* Minimum
* Maximum
* Range
* Sum
* Mean
* Variance
* Standard Deviation
* Specified Quartiles

Hope that helps,
mike

On Sun, Apr 19, 2015 at 11:54 AM, Micha Silver <micha at arava.co.il> wrote:

>
>
> On 04/19/2015 12:34 PM, Johan Nilsson wrote:
>
>  Zonal statistics work well to extract, numers of cells(counts) , sum of
> the value (sum)  and also average (mean) But I want the minimum AND
> max-value and also standard error, if possible. Is there another plugin or
> a tutorial how it may bee done in another way.
>
>   The GRASS module v.rast.stats does what you want. But it's not in the
> Processing toolbox. You can import your raster into a GRASS mapset then do
> the analysis directly within GRASS.
>
>  The code to Zonal statistics are here, but I'm total lost in how it work.
>
>
> https://github.com/qgis/QGIS/blob/a2f51260db5357917e86b78f1bb2915379d670dd/src/analysis/vector/qgszonalstatistics.cpp
>
>  /Cheers
>
> This mail was received via Mail-SeCure System.
>
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
> This mail was received via Mail-SeCure System.
>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150419/c26bd98c/attachment.html>


More information about the Qgis-user mailing list