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, <[email protected]> wrote: > Date: Tue, 15 Nov 2011 11:36:12 +0000 > From: Helena Herrera <[email protected]> > Subject: [GRASS-user] Alternative to r.stats to generate % of surface > To: [email protected] > Message-ID: > <CACCE9tiQOu_A2Xt82ZdTLwM28eMX8ze=0zkdhsy97khfi9n...@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 [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
