Re: [GRASS-user] r.neighbors selecting a random value from the window

2014-10-04 Thread Glynn Clements
Milton Ribeiro wrote: > Given a moving window (maybe with r.neihbors), I need to select a random > value which occurs within the window. Is there any function for this in > grass? No. You could either modify r.neighbors, or use e.g. grass.script.array (example script attached). -- Glynn Cleme

[GRASS-user] r.neighbors selecting a random value from the window

2014-10-02 Thread Milton Ribeiro
Dear all, Given a moving window (maybe with r.neihbors), I need to select a random value which occurs within the window. Is there any function for this in grass? cheers -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro Av.