[GRASSLIST:6224] r.neighbor inside r.mapcalc

Daniel Victoria daniel_victoria at yahoo.com
Thu May 8 16:51:25 EDT 2003


Hi all,

I'm trying to run r.neighbor on selected cells. What I
want to do is to substitute specific cell values
(lower than 10 for instance) with the value produce by
a r.neighbor average. Is there a way to do this in
GRASS?
I tried r.mapcalc but I got a little confused with the
neighbor operand [r,c]. For a 3x3 window the [r,c] in
r.mapcalc should be easy but for something larger
(7x7) it would be a lot more work. Is there an easyer
way?

Thanks

Daniel

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




More information about the grass-user mailing list