[GRASS5] Re: [GRASSLIST:1551] Re: Use of neighbourhood operator in r.mapcalc

Glynn Clements glynn.clements at virgin.net
Mon Oct 27 13:48:19 EST 2003

Hamish wrote:

> One moderately important caveat:
> For correct results I found I had to alternate the sign of the [-1,0]'s
> (search order) after each iteration in order for it to make it around
> certain corners and/or fill in some pixels which only have data on one
> adjoining side. I cycled the search order but maybe randomly is more
> appropriate.

I don't understand what you are talking about here. The only
difference that the ordering will make is that it determines *which*
non-NULL neighbour fills in a given NULL cell.

Do you have some non-NULL cells which are being plotted in the same
colour as NULLs? That could result in confusion.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list