[GRASSLIST:3661] Re: moving window bigger than 25 cells

Glynn Clements glynn.clements at virgin.net
Mon Jun 14 15:27:07 EDT 2004


Thomas Hoffmann wrote:

> I need to calculate max, min and mean values within a moving window with 
> a window size bigger than 25 cells (which is the upper limit for 
> r.neighbors). Does anybod know some advice?

If you have the source code, delete the following line:

	parm.size->options    = "1,3,5,7,9,11,13,15,17,19,21,23,25" ;

from src/raster/r.neighbors/cmd/main.c, then re-compile and
re-install.

I'm fairly sure that there isn't any practical alternative.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list