[GRASS-user] tiled version for r.neighbors

Moritz Lennert mlennert at club.worldonline.be
Wed Oct 7 04:08:14 PDT 2020


On 7/10/20 12:37, Bernardo Santos wrote:
> Dear community,
> 
> I have recently found that some functions such as r.mapcalc and 
> r.textile have their "tiled" versions, whichi is perfect for processing 
> things in large extents and fine scale resolution.
> I need to perform a moving window analysis, such as using r.neighbors, 
> over large areas. Is there already any implementation of a 
> "r.neighbors.tiled" or something like that?
> (If not, that would definitely be very useful!)

AFAIK, there is no r.neighbors.tiled. Actually, the two others you cite 
were quick hacks from me which I decided to make available in case they 
could be useful.

Several tests by others using r.mapcalc.tiled have not shown significant 
speed increase, and so there is currently a discussion about how to 
solve this (the current idea is to try with r.patch instead of the 
internal python-based patching routine). Unfortunately, I don't have 
much time for GRASS GIS these days, so will not be able to do anything 
about this.

You could have a look at the existing *.tiled modules (see link to the 
code at the bottom of the online man page) to see how they work (not 
very complicated) and try to cook your own for r.neighbors. :-)

Moritz


More information about the grass-user mailing list