<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 & Complexity </div><div>Professor of Anthropology, School of Human Evolution & Social Change</div><div>Arizona State University</div><div><br></div>voice: <span class="Apple-tab-span" style="white-space: pre; ">        </span>480-965-6262 (SHESC), 480-727-9746 (CSDC)<br>fax: 480-965-7671 (SHESC), 480-727-0709 (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, <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 </div></div><div><br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 6:44 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>></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 & Complexity<br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Arizona State University<br>
<br>
voice: <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: <a href="tel:480-965-7671" value="+14809657671">480-965-7671</a> (SHESC), <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, <<a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a>> wrote:<br>
<br>
> Date: Mon, 30 Jan 2012 17:52:40 +1000<br>
> From: Shane Litherland <<a href="mailto:litherland-farm@bigpond.com">litherland-farm@bigpond.com</a>><br>
> Subject: [GRASS-user] how to report/measure a vector area?<br>
> To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> Message-ID: <1327909960.6375.15.camel@Lacebark><br>
> Content-Type: text/plain; charset="UTF-8"<br>
><br>
> Hi all,<br>
><br>
> I'm lost. I have looked around in GRASS for how to report the area (e.g.<br>
> in hectares) for a vector map that, yes, has area (i.e. centroids and<br>
> boundaries).<br>
><br>
> I cannot find a way to do this. A bit of web searching, even gave some<br>
> suggestions this basic facility may not be available in GRASS?? surely<br>
> there's something tucked away to do it?<br>
><br>
> I'm sure I've done something in the past to view vector area data,<br>
> though it may have been area data that was already in a table. When I<br>
> use the query tool in map display, it tells me 'nothing'. Seems that is<br>
> because my vector is not connected to an attribute table. For the<br>
> purpose of my exercise I did not need cats for the boundaries/centroids<br>
> so I didn't bother with a table connection either. Maybe this is where<br>
> I've gone wrong?<br>
><br>
> I did try vector to raster to try and report on how many raster<br>
> cells/area... no luck there either.<br>
><br>
> I also tried the 'measure' tool in the map display, but it only gives<br>
> distance.<br>
><br>
><br>
> I could go and learn more about PostGIS for sending the vector data to a<br>
> postgres geometry table and figure it out that way... I was hoping to<br>
> find a way to do it in GRASS in a matter of minutes, not via a database<br>
> and a couple of days/weeks of learning how...<br>
><br>
> What tool/command should I be using?<br>
><br>
> regards,<br>
> 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 & Land Planning Department @ ETSICCPM UPM <a href="http://www.caminos.upm.es/" style="color:rgb(17,85,204)" target="_blank">www.caminos.upm.es</a> +34 91 336 67 83</div>
<br>
</div>
</blockquote></div><br></div></div></body></html>