See? I knew there was a much better way :)<br><br><br><br><div class="gmail_quote">On Tue, Nov 15, 2011 at 2:29 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Use r.report.<br>
<br>
This will do exactly what you want and output to a file too.<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/%7Ecmbarton" 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>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Nov 16, 2011, at 2:58 PM, <<a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.osgeo.org</a>> wrote:<br>
<br>
> Date: Tue, 15 Nov 2011 11:36:12 +0000<br>
> From: Helena Herrera <<a href="mailto:helenaherrera1980@gmail.com">helenaherrera1980@gmail.com</a>><br>
> Subject: [GRASS-user] Alternative to r.stats to generate % of surface<br>
> To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> Message-ID:<br>
> <CACCE9tiQOu_A2Xt82ZdTLwM28eMX8ze=<a href="mailto:0ZkDHSy97KHfi9n_Ww@mail.gmail.com">0ZkDHSy97KHfi9n_Ww@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
<div><div></div><div class="h5">><br>
> Greetings<br>
><br>
> I want to calculte % of surface in a raster map for each Integer class<br>
> value. The thing is that I'm, using r.stats but the sum % values is always<br>
> much more (104 or 102 or 105). Is there any other (more precised) method to<br>
> calculate this ?<br>
> THanks<br>
> Helena<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>
</div></div></blockquote></div><br>