[GRASS5] Re: [GRASSLIST:3299] r.neighbors question

Glynn Clements glynn.clements at virgin.net
Thu Mar 7 13:39:44 EST 2002


Kevin Slover wrote:

> I am using r.neighbors to increase the resolution of rasters that I have
> created, and have noticed something interesting...maybe it is my lack of
> understanding of something in the program, but....I am getting null
> values in the resulting raster.  It appears that it is setting values of
> 0 to null in the result...which then creates gaps in the images...any
> ideas on what might be causing this??

then:

> Please disregard the last email from me.  I just read one of the options
> for r.neighbors, and it appears that I should put a -z to preserve zero
> outputs...

Should r.neighbors' "-z" flag be kept? Is there any reason why zero
should be converted to null?

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



More information about the grass-dev mailing list