[GRASS5] raster category confusion

Glynn Clements glynn at gclements.plus.com
Wed Aug 31 16:05:02 EDT 2005


Markus Neteler wrote:

> > > > Do you have some other mapset in the search path ahead of the current
> > > > mapset?
> > > 
> > > GRASS 6.1.cvs (spearfish60):/hardmnt/thuille0/ssi/grassdata/spearfish60 > g.mapsets -p
> > > neteler PERMANENT user1
> > > 
> > > It seems that there is only this single map gives wrong results.
> > > It's a 32bit RHEL4 box.
> > 
> > The only thing I can suggest is using a debugger.
> 
> To recall, the problem:
> 
> r.mapcalc "one=1"


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

Forget about r.cats (and categories in general). This:

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

is a lot more interesting (and relevant).

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




More information about the grass-dev mailing list