On Monday 21 July 2008, chris carleton wrote: > I've encountered another challenge with GRASS that I need some expert > advice with. I want to run a neighborhood analysis on a few DEMs, but the > options in r.neighbors don't quite seem to suit my needs. I want an > analysis that calculates the average difference between the central cell > and its neighbors (using that average as the new cell cat value). The idea > is that I'll end up with an approximation of terrain 'ruggedness' by > looking at average differences in elevation within a given neighborhood. > Any suggestions would be welcome. > > Chris > > _________________________________________________________________
how about standard deviation or variance? these would give you an idea of how homogeneous the elevation data are within each window: higher values in steep uplands, with lower values in the valleys. Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
