[GRASS-user] Alternative to r.stats to generate % of surface

Marcello Gorini gorini at gmail.com
Tue Nov 15 12:50:37 EST 2011


See? I knew there was a much better way :)



On Tue, Nov 15, 2011 at 2:29 PM, Michael Barton <michael.barton at asu.edu>wrote:

> Use r.report.
>
> This will do exactly what you want and output to a file too.
>
> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
>
> voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
> fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
> On Nov 16, 2011, at 2:58 PM, <grass-user-request at lists.osgeo.org> wrote:
>
> > Date: Tue, 15 Nov 2011 11:36:12 +0000
> > From: Helena Herrera <helenaherrera1980 at gmail.com>
> > Subject: [GRASS-user] Alternative to r.stats to generate % of surface
> > To: grass-user at lists.osgeo.org
> > Message-ID:
> >        <CACCE9tiQOu_A2Xt82ZdTLwM28eMX8ze=
> 0ZkDHSy97KHfi9n_Ww at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Greetings
> >
> > I want to calculte % of surface in a raster map for each Integer class
> > value. The thing is that I'm, using r.stats but the sum % values is
> always
> > much more (104 or 102 or 105). Is there any other (more precised) method
> to
> > calculate this ?
> > THanks
> > Helena
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111115/f536e675/attachment.html


More information about the grass-user mailing list