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

Michael Barton michael.barton at asu.edu
Tue Nov 15 11:29:22 EST 2011


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



More information about the grass-user mailing list