[GRASS-user] Distance-weighted focal functions?

Dylan Beaudette debeaudette at ucdavis.edu
Tue Aug 3 17:15:30 EDT 2010


Hi,

After hacking together some R + r.mapcalc code, I started to wonder about how 
hard it would be to add distance-weighting to r.neighbors... Specifically, 
the focal distance-weighted mean difference. An example of what I was trying 
to accomplish can be found here:

http://casoilresource.lawr.ucdavis.edu/drupal/node/937

Surely there is a more elegant solution using r.mfilter.fp, or the like... 

Cheers,
Dylan

-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341


More information about the grass-user mailing list