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

Johan Nilsson joni8135 at gmail.com
Wed Apr 29 05:15:07 PDT 2015


Have now tried to run v.rast.stats in Grass 7.0. It start and run 100% off
one core in hours, until a file in ~/grassdata/location/PERMANENT/.tmp/
inflate to the disk is full, approximate 150GB :(

Have made topology check on the vector-data and imported it to grassdb.
Will see if I can collect usefull data and ask on grass-user list.

Stupid Ubuntu 14.04  to not messure invisible files in the normal
file-manager, had gone faster to pinpoint the problem.

/Cheers

2015-04-19 18:54 GMT+02:00 Micha Silver <micha at arava.co.il>:

>
>
> 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.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150429/c44ba86e/attachment.html>


More information about the Qgis-user mailing list