<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes. The cool (and sometimes confusing) thing about GRASS is that often there are several ways of getting the result you want.<div><br></div><div>Michael<br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>____________________</div><div>C. Michael Barton</div><div>Director, Center for Social Dynamics &amp; Complexity&nbsp;</div><div>Professor of Anthropology,&nbsp;School of Human Evolution &amp; Social Change</div><div>Arizona State University</div><div><br></div>voice:&nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span>480-965-6262 (SHESC), 480-727-9746&nbsp;(CSDC)<br>fax: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;480-965-7671 (SHESC), &nbsp;480-727-0709&nbsp;(CSDC)<br><div>www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu">http://csdc.asu.edu</a></div><br></div></div><br></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jan 30, 2012, at 12:32 PM, Ismael Gómez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,&nbsp;<div>sth like this can also be of help:</div><div><div><br></div><div>v.db.addcol map=yourVectorMap column="area_size double precision"</div><div>v.to.db map=yourVectorMap type=centroid option=area units=h column=area_size</div>
<div><br></div><div>Regards&nbsp;</div></div><div><br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 6:44 PM, Michael Barton <span dir="ltr">&lt;<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Use v.report - under the vector/reports menu<br>
<br>
Michael<br>
____________________<br>
C. Michael Barton<br>
Director, Center for Social Dynamics &amp; Complexity<br>
Professor of Anthropology, School of Human Evolution &amp; Social Change<br>
Arizona State University<br>
<br>
voice: &nbsp;<a href="tel:480-965-6262" value="+14809656262">480-965-6262</a> (SHESC), <a href="tel:480-727-9746" value="+14807279746">480-727-9746</a> (CSDC)<br>
fax: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="tel:480-965-7671" value="+14809657671">480-965-7671</a> (SHESC), &nbsp;<a href="tel:480-727-0709" value="+14807270709">480-727-0709</a> (CSDC)<br>
www: <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu/" target="_blank">http://csdc.asu.edu</a><br>
<br>
<br>
<br>
<br>
On Jan 30, 2012, at 10:00 AM, &lt;<a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a>&gt; wrote:<br>
<br>
&gt; Date: Mon, 30 Jan 2012 17:52:40 +1000<br>
&gt; From: Shane Litherland &lt;<a href="mailto:litherland-farm@bigpond.com">litherland-farm@bigpond.com</a>&gt;<br>
&gt; Subject: [GRASS-user] how to report/measure a vector area?<br>
&gt; To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
&gt; Message-ID: &lt;1327909960.6375.15.camel@Lacebark&gt;<br>
&gt; Content-Type: text/plain; charset="UTF-8"<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I'm lost. I have looked around in GRASS for how to report the area (e.g.<br>
&gt; in hectares) for a vector map that, yes, has area (i.e. centroids and<br>
&gt; boundaries).<br>
&gt;<br>
&gt; I cannot find a way to do this. A bit of web searching, even gave some<br>
&gt; suggestions this basic facility may not be available in GRASS?? surely<br>
&gt; there's something tucked away to do it?<br>
&gt;<br>
&gt; I'm sure I've done something in the past to view vector area data,<br>
&gt; though it may have been area data that was already in a table. When I<br>
&gt; use the query tool in map display, it tells me 'nothing'. Seems that is<br>
&gt; because my vector is not connected to an attribute table. For the<br>
&gt; purpose of my exercise I did not need cats for the boundaries/centroids<br>
&gt; so I didn't bother with a table connection either. Maybe this is where<br>
&gt; I've gone wrong?<br>
&gt;<br>
&gt; I did try vector to raster to try and report on how many raster<br>
&gt; cells/area... no luck there either.<br>
&gt;<br>
&gt; I also tried the 'measure' tool in the map display, but it only gives<br>
&gt; distance.<br>
&gt;<br>
&gt;<br>
&gt; I could go and learn more about PostGIS for sending the vector data to a<br>
&gt; postgres geometry table and figure it out that way... I was hoping to<br>
&gt; find a way to do it in GRASS in a matter of minutes, not via a database<br>
&gt; and a couple of days/weeks of learning how...<br>
&gt;<br>
&gt; What tool/command should I be using?<br>
&gt;<br>
&gt; regards,<br>
&gt; Shane.<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Ismael G.</div><div>Ingeniero de Caminos (UPM). Ingénieur des Ponts et Chaussées (ENPC).</div><div>PhD researcher @ Urban &amp; Land Planning Department @ ETSICCPM UPM&nbsp;<a href="http://www.caminos.upm.es/" style="color:rgb(17,85,204)" target="_blank">www.caminos.upm.es</a>&nbsp;+34 91 336 67 83</div>
<br>
</div>
</blockquote></div><br></div></div></body></html>