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

Carlos Henrique Grohmann guano at usp.br
Mon Jun 14 17:37:41 EDT 2004


You can convert your data to sites and use s.cellstats. the size of the window
will be set by your region settings.

-- 
+-------------------------------------------------+
        Carlos Henrique Grohmann - Guano  
  Geologist M.Sc - PhD Student at IGc-USP - Brazil
     Linux User #89721  - guano at usp dot br -
+-------------------------------------------------+


Citando Glynn Clements <glynn.clements at virgin.net>:

> 
> 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