r.stats

Mark Gregory writes:

I am trying to use r.stats to generate area statistices which I wish to pass
into another application. I can generate the data in the proper format with
the command

r.stats -a input=x output=y

##but my statistics are always in meters. The manual says that 'Area statistics
##can be given in units of acres, hectares, square miles and cell counts.'
##What is the option to output the statistics in acres?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Mark,
  I believe r.stats only deals with square meters or cell counts.
According to our on-line manual:

DESCRIPTION
     r.stats calculates the area present in each of the
     categories of user-selected raster map layer(s). Area
     statistics are given in units of square meters and/or cell
     counts......<stuff deleted>

So I think awk, as you mentioned in your original posting, may be the way
to go, but I'm sure there are other methods of determining acreage. It could
be done with r.mapcalc........plus others.

Have a Great Day,
--
R. Brian Culpepper Research Assistant
---------------------------------------------------------------------
Center for Advanced Spatial Technologies (fax) 501 575-3846
Rm. 214 Ozark Hall (work) 501 575-6159
University of Arkansas brian@cast.uark.edu
Fayetteville, AR 72701

All opinions are my own and do not necessarily reflect those of the
Center for Advanced Spatial Technologies or the University of Arkansas.