[GRASS5] [bug #2178] (grass) r.bilinear writes 0 instead of NULL

Glynn Clements glynn.clements at virgin.net
Wed Oct 22 07:27:34 EDT 2003


Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2178
> -------------------------------------------------------------------------
> 
> Subject: r.bilinear writes 0 instead of NULL
> 
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> 
> BUG
> r.bilinear write 0 instead of NULL:
> 
> GRASS:~ > r.info -r elev.bilin
> min=0.000000
> max=1432.306152
> 
> GRASS:~ > r.null elev.bilin setnull=0
> Writing new data for [elev.bilin]...  100%
> 
> GRASS:~ > r.info -r elev.bilin
> min=1136.674438
> max=1432.306152
> 
> This happens at the west/north result map borders where 0 instead of NULL
> is written.

It should only be East/West. The North/South check writes NULLs.

I've committed a fix; this should probably go into 5.0.3.

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




More information about the grass-dev mailing list