Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Moritz Lennert
On 08/12/14 18:26, Milton Ribeiro wrote: Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new raster map. IIUC, you actually want to randomize the categories of pixels where categories are land covers and there is a constraint that

Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Milton Ribeiro
Hi Moritz, I like your tips.. I will try this. Thanks! milton 2014-12-09 12:55 GMT-02:00 Moritz Lennert mlenn...@club.worldonline.be: On 08/12/14 18:26, Milton Ribeiro wrote: Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new

Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Paulo van Breugel
Nice suggestions Moritz. Another alternative to accomplish this is to combine r.surf.random and r.recode (instead of recode, one can also use r.reclass). I haven't tried it, but this might be faster for large maps or with many categories? r.surf.random flags=i, output=LUCrandom min=0 max=1

[GRASS-user] randomize the position of a raster map

2014-12-08 Thread Milton Ribeiro
Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new raster map. Is there a command that can do this within GRASS? best -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP -