I want to assign to each grid cell the number of grid cells with a certain characteristics in a neighborhood of 30x30 cells. The problem with r.neighbors is that it allows only neighborhood sizes up to 25. Any ideas how to do it (without typing in 30x30 coordinates of the neighborhood cells in r.mapcalc...)? Christof