<div dir="ltr"><div>Ok. Thanks. Seems like g.region is from equator and greenwich, south 0 and west 0.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-29 18:44 GMT+02:00 Micha Silver <span dir="ltr"><<a 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/29/2015 03:15 PM, Johan Nilsson
      wrote:<br>
    </div>
    <blockquote 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></span>
    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.<span class=""><br>
     <br>
    <blockquote 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 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> <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>
                  <div dir="ltr">
                    <div>The code to Zonal statistics are here, but I'm
                      total lost in how it work.<br>
                      <br>
                      <a 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>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a 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>
  </span></div>

</blockquote></div><br></div>