[GRASS5] r.reclass

Glynn Clements glynn at sensei.co.uk
Sun Mar 25 16:49:19 EST 2001


Glynn Clements wrote:

> Have I done something wrong, or are reclassified maps known to be
> non-functional at the moment? Every attempt at using one fails (with
> "<mapname> - not found").
> 
> Using strace indicates that the programs (d.rast, r.mapcalc,
> r.rescale) look for cell/mapname, and give up when nothing is found
> there. But r.reclass only generates cellhd/mapname.

OK; found the problem; r.reclass is failing silently. It seems that
you can't reclassify a map to which you don't have write permission. 
G_put_reclass() segfaults if the fopen (for append) on the
"reclassed_to" file fails.

I'll submit a bug report with the messy details.

-- 
Glynn Clements <glynn at sensei.co.uk>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list