[GRASS5] raster category confusion

Markus Neteler neteler at itc.it
Mon Aug 29 09:38:52 EDT 2005


Hi,

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

cd spearfish60/neteler/cats
cat one
# 1 categories


0.00 0.00 0.00 0.00


r.cats one
Reading one in neteler ... 100%
99
100
120
156

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

r.report one
...
|  #|description                                                              |
|-----------------------------------------------------------------------------|
| 99|                                                                         |
|100|                                                                         |
|120|                                                                         |
|156|                                                                         |


I am not convinced... Some initialization bug in libgis?

Markus




More information about the grass-dev mailing list