[GRASS5] raster category confusion

Glynn Clements glynn at gclements.plus.com
Mon Aug 29 16:13:44 EDT 2005


Markus Neteler wrote:

> the more I look into the problems of r.average and friends,
> the more confused I get.
> 
> Simple test (Spearfish):
> 
> g.region n=4925010 s=4924770 w=598380 e=598740 nsres=120 ewres=90 -p
> r.mapcalc "one=1"
> 
> r.info -t one
> datatype=CELL

What do you get without -t?

> r.stats -1 one
> 120
> 156
> 99
> 100
> 120
> 156
> 99
> 100

That's at odds with the "r.mapcalc one=1", and shouldn't have anything
to do with categories.

Do you have some other mapset in the search path ahead of the current
mapset?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list