[GRASS5] Re: [bug #2398] r.neighbors: add null pass-through support

Glynn Clements glynn.clements at virgin.net
Mon May 10 02:56:14 EDT 2004


Hamish wrote:

> > ---- Subject: r.neighbors: add null pass-through support
> ...
> > r.neighbors should have an option so output maps only contain data
> > where data exists in the original map.
> > 
> > Currently output maps 'grow' to the search distance, i.e.
> > output_val=mean(nonNULL(cell_values))
> 
> 
> I should have mentioned, the reason this is needed is that r.neighbors
> doesn't respect a null MASK when writing the output file, perhaps that
> is the real bug.

The mask only applies to input, not output.

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




More information about the grass-dev mailing list