<html style="direction: ltr;">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 04/29/2015 03:15 PM, Johan Nilsson
wrote:<br>
</div>
<blockquote
cite="mid:CALnM-k-Vs-2tBAkJ6eC7hCoi7nUKFsTdipU_Va4NDfJjmrJQkA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>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 :(<br>
<br>
</div>
</div>
</div>
</blockquote>
Whoa!<br>
Check the region settings before you try again:<br>
g.region -p<br>
This is FAQ #0 for all work with GRASS. The v.rast.stats module
works by first rasterizing the vector polygons into a temporary
raster. If you region is very large, and resolution setting is very
small, you might be getting a huge temporary raster.<br>
<br>
<blockquote
cite="mid:CALnM-k-Vs-2tBAkJ6eC7hCoi7nUKFsTdipU_Va4NDfJjmrJQkA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>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.<br>
<br>
</div>
<div>Stupid Ubuntu 14.04 to not messure invisible files in the
normal file-manager, had gone faster to pinpoint the problem.
<br>
</div>
<div><br>
</div>
/Cheers<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-04-19 18:54 GMT+02:00 Micha Silver
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" bgcolor="#FFFFFF" text="#000000"><span
class=""> <br>
<br>
<div>On 04/19/2015 12:34 PM, Johan Nilsson wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>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.<br>
<br>
</div>
</div>
</div>
</blockquote>
</span> 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.<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div>The code to Zonal statistics are here, but I'm
total lost in how it work.<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/qgis/QGIS/blob/a2f51260db5357917e86b78f1bb2915379d670dd/src/analysis/vector/qgszonalstatistics.cpp"
target="_blank">https://github.com/qgis/QGIS/blob/a2f51260db5357917e86b78f1bb2915379d670dd/src/analysis/vector/qgszonalstatistics.cpp</a><br>
<br>
</div>
/Cheers<br>
</div>
<br>
</span> This mail was received via Mail-SeCure System.<br>
<br>
<fieldset></fieldset>
<br>
<pre><span class="">_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></span>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
</blockquote>
<br>
</body>
</html>