[GRASS5] r.reclass [Was: The status of 5.0]

Glynn Clements glynn.clements at virgin.net
Thu Mar 28 12:37:33 EST 2002


Glynn Clements wrote:

> > > Also, reclass.c has specific code (re_reclass()) to generate a reclass
> > > of reclass. However, main.c explicitly checks for this case and
> > > generates a fatal error if you try to use it. This limitation wasn't
> > > in 4.3; it was introduced in:
> > > 
> > > 	revision 1.3
> > > 	date: 2001/02/07 10:33:07;  author: markus;  state: Exp;  lines: +8 -0
> > > 	added check if input map is already a reclass (currently not allowed)
> > > 
> > > Markus: do you recall the reasoning behind this?
> > 
> > Well, that time the "reclass of reclass" didn't seem to work. If yes,
> > the check should definitly be removed to enable again reclasses of reclass.

I've committed a fix to r.reclass. It involves substantial changes to
the code which generates the reclass table, so testing would be
useful.

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



More information about the grass-dev mailing list