[GRASS5] -z flag for raster modules

Markus Neteler neteler at geog.uni-hannover.de
Mon Oct 23 10:56:23 EDT 2000


Hi,

On Fri, Oct 20, 2000 at 08:46:35PM +0200, Andreas Lange wrote:
> Hi,
> 
> The bug in r.rescale (tagged as release critical) that cell values
> outside the from range are not set to "0" but to NULL is not a bug IMHO.
> It should be corrected in the documentation that all modules write out
> NULL for missing or unknown values instead of zero. I think that this is
> the desired behaviour (e. g. for later patching maps or displaying them
> as overlays).
Html update done.

> I think that all modules that calculate on raster maps should get a flag
> "-z" that switches from NULL output (default) to zero output for user
> convinience. This would be r.reclass and r.rescale (any other?). 
I have just patched r.buffer and added "-z". But is it not yet working.... 
If someone else could finally fix it? Should be in
src/raster/r.buffer/cmd/read_map.c

Then a few selected other raster modules should have a -z flag.

Markus

---------------------------------------- 
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