Brad Douglas wrote:

> > So, with r.neighbors, how would I annulus shape neighbourhood shape?
> 
> r.neighbors in=input.map out=output.map size=3 weight=weight.file
> 
> weights.file should contain something along the lines of:
> 3 3 3 1 4 8 9 5 3

Note that spaces and newlines can be used interchangeably, so it's
usually preferable to format the file according to the neighbourhood
shape, i.e.:

3 3 3
1 4 8
9 5 3

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to