[GRASS5] r.reclass

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.

I didn't find anything about this in a (brief) look at the list
archives, as I would have expected for something so fundamental. Which
leads me to wonder if it's just me (recent "cvs update").

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

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

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@sensei.co.uk>

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

On Sun, Mar 25, 2001 at 05:27:32PM +0100, 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.

Well, there should be a small file created in cell/ with the contents
"Don't remove me". When the raster is opened, the open routines find it
is a reclass via the cellhd/ file and open the original file. The file
in cell/ is necessary for the lookup routines (same thing is done with
all floating point rasters which really live in fcell).

I didn't find anything about this in a (brief) look at the list
archives, as I would have expected for something so fundamental. Which
leads me to wonder if it's just me (recent "cvs update").

Something's wrong with your installation I guess. Working fine here.

--
Eric G. Miller <egm2@jps.net>

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

I just sent a reply to the request-tracker acknowledgement (to provide
a patch). I subsequently got a bounce, as the original message had a
Reply-To address of:

  Request Tracker <grass-bugs@intevation.de>, grass5@geog.uni

It would appear that replies are supposed to go to the grass5 list as
well, but the address has been truncated.

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

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

Hi,

(cc to Thomas)

On Tue, Mar 27, 2001 at 09:44:22PM +0100, Glynn Clements wrote:

I just sent a reply to the request-tracker acknowledgement (to provide
a patch). I subsequently got a bounce, as the original message had a
Reply-To address of:

  Request Tracker <grass-bugs@intevation.de>, grass5@geog.uni

It would appear that replies are supposed to go to the grass5 list as
well, but the address has been truncated.
--
Glynn Clements <glynn@sensei.co.uk>

Shouldn;t the bugs report go to the grass5 list instead of
someones personal site? That's my opinon...let's keep
everything on the same page.
                                                                               
Bruce

The intention was to send a copy of each bug report to "grass5" to keep
people up-to-date. However, the RT seems not to accept large email
adresses (thanks Glynn for indicating that!). I'll ask at Intevation
if they can fix that. Then every report shall be cc'ed to "grass5" to
keep us in sync.

Is that ok.?

Markus

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