[GRASS5] BUGS: r.null on reclass, would mess up original...

In BUGS, it lists as [RC] the inability to run r.null on reclass rasters.
The problem is, if r.null was run on the reclass raster it would alter
the original and any other reclass rasters of the original. So, there are
two basic approaches, let the user make a raster out of the reclass that
isn't a reclass (e.g. `echo 'newmap = reclass' | r.mapcalc`) or have
r.null do this for them. With the second, a new raster has to be made
and what do you name it? If you name it the same as the reclass and
blow away the reclass, is that okay?

IMHO, this "bug" isn't a big deal and should be downgraded or removed.

--
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='

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

On Sun, Nov 05, 2000 at 08:55:56PM -0800, Eric G . Miller wrote:

In BUGS, it lists as [RC] the inability to run r.null on reclass rasters.
The problem is, if r.null was run on the reclass raster it would alter
the original and any other reclass rasters of the original. So, there are
two basic approaches, let the user make a raster out of the reclass that
isn't a reclass (e.g. `echo 'newmap = reclass' | r.mapcalc`) or have
r.null do this for them. With the second, a new raster has to be made
and what do you name it? If you name it the same as the reclass and
blow away the reclass, is that okay?

IMHO, this "bug" isn't a big deal and should be downgraded or removed.

Hi Eric,

sounds reasonable... I have downgraded it to non-RC. Perhaps r.null
should just print out a useful message how to make a full map of
a reclassified map, or better, do this job itself (optionally) and
ask for a new map name in this case.

Regards

Markus

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