<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000099">
    v.rast.stats (menu: Vector-Update area attribute from raster) will
    calculate n, min, max, range, mean, stddev, variance, coeff_var, sum
    and optionally the 1st quartile, median, 3rd quartile, and given
    percentile. Columns will be created on the fly, you only have to
    give the 'base name' of the columns. I.e., no need to create a
    column yourself.<br>
    <br>
    <br>
    On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote:
    <blockquote
cite="mid:CADkzOEVMKDVqws+UQLFkiTkhcv0JP_+3cAeGZ+cV7D5JXQde_Q@mail.gmail.com"
      type="cite">BTW,<br>
      <br>
      my vector maps have polygons.<br>
      <br>
      milton<br>
      <br>
      <div class="gmail_quote">2011/7/16 Milton Cezar Ribeiro <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:miltinho.astronauta@gmail.com">miltinho.astronauta@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">Dear all,<br>
          <br>
          I have a raster map with continuous values, and need to
          extract some stats (like mean, std etc) assigning these
          "zonal" values as a vector column.<br>
          I just added the empty columns on the my vector map using :<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v.db.addcol map=frag_ts columns="FLOW_STD DOUBLE
          PRECISION"<br>
          <br>
          How can I do this on grass?<br>
          <br>
          cheers<br>
          <font color="#888888"><br>
            milton<br>
          </font></blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>