On Wed, Dec 9, 2009 at 4:28 PM, Achim Kisseler <[email protected]> wrote: > > Hi all, > > is it possible in grass to calculate the "center of gravity"?
Yes. > Given two raster maps: > 1) map where areas are defined (can be vector map, too) > 2) raster map with "gravity" values > > I cannot find something like this in grass. Please try here: http://www.grassbook.org/scripts/rcentroid.sh.txt You may adapt it to your needs (and modernize it as well, it is from the first edition of the book). Best Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
