[GRASS5] The status of 5.0

Glynn Clements glynn.clements at virgin.net
Wed Mar 27 17:30:40 EST 2002


Markus Neteler wrote:

> > Category #1 retains its old label, even though it appears on the RHS
> > of a rule. Basically, category labels are retained when the category
> > doesn't appear on the LHS; I would have thought that it should be the
> > RHS which is checked.
> > 
> > Can someone confirm that this is a bug?

> I have done a quick test:

> r.reclass realnutz96 out=recl
> 
> Enter the rule or 'help' for the format description:
> > 2100=1 cat1
> > 6000=2 cat2
> > *=*      
> > end

> not sure if this what we should expect...
> Probably my test is bad as the IDs are not from 1..something.

It's only relevant when an *existing* category occurs on the RHS of a
rule. In that case, the category retains its old label, rather than
using the label given in the rule.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list