[R-sig-Geo] accumulate gridcells to a specific value

Alexander.Herr at csiro.au Alexander.Herr at csiro.au
Thu Jul 31 01:20:27 CEST 2008


 
Hi List,

I am trying to accumulate gridcells to a specific value. This means I
need to extent the nearest neighbours (or search radius) to a size so
that the sum of gridcell values reaches the desired value (or stops if
sum value of gridcells/radius goes beyond a specific size). It should
start with the highest gridcell value then next remaining highest etc.

Of course this could also work with points/polygons or on a matrix.

Rather than re-inventing the wheel I was wondering if anyone has or
knows of a tool/script.

Thanks and cheers
Herry
 




More information about the R-sig-Geo mailing list