[GRASS-user] r.stats changes between grass5 and grass6

I've recently returned to grass after a while of not needing to do that sort
of analysis and found the analysis I previously did no longer works.

I downloaded and installed the latest stable version of grass and processes
similar to those I have run over different data in grass5.

r.stats -a for a Latitude-Longitude location gave the area in square meters in
grass5, but appears to the area is square degrees in grass6.

Is there a way of getting area in square meters from r.stats in grass6?

Regards
Gordon

--

Gordon Keith
Programmer/Data Analyst
Marine Acoustics
CSIRO Marine and Atmospheric Research
http://www.cmar.csiro.au

By the turn of this century, we will live in a paperless society
-- Roger Smith, chairman of General Motors, 1986

Hi Gordon.

Welcome back to GRASS :slight_smile:

GRASS has changed a lot in past years. Now it's better than ever :slight_smile:
To catch-up with GRASS progress, You need to do some RTFM'ing.
http://grass.itc.it/grass63/manuals/html63_user/r.stats.html:
"Note that the user has only the option of printing out cell
statistics in terms of cell counts and/or area totals. Users wishing
to use different units than are available here should use the GRASS
program r.report."

Have a nice return,
Maris.

2007/10/10, Gordon Keith <gordon.keith@csiro.au>:

I've recently returned to grass after a while of not needing to do that sort
of analysis and found the analysis I previously did no longer works.

I downloaded and installed the latest stable version of grass and processes
similar to those I have run over different data in grass5.

r.stats -a for a Latitude-Longitude location gave the area in square meters in
grass5, but appears to the area is square degrees in grass6.

Is there a way of getting area in square meters from r.stats in grass6?

Regards
Gordon

--

Gordon Keith
Programmer/Data Analyst
Marine Acoustics
CSIRO Marine and Atmospheric Research
http://www.cmar.csiro.au

By the turn of this century, we will live in a paperless society
-- Roger Smith, chairman of General Motors, 1986

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Gordon Keith wrote:

r.stats -a for a Latitude-Longitude location gave the
area in square meters in grass5, but appears to the area
is square degrees in grass6.

Is there a way of getting area in square meters from
r.stats in grass6?

Reproject your data into a non-latlong projection or try
r.report units=.

Maciek