[GRASS-user] random raster map
Martin Landa
landa.martin at gmail.com
Mon Jul 14 05:51:48 EDT 2008
Hi,
2008/7/14 <jessica.gervais at tudor.lu>:
> How can I create a raster map with random values between a minimum and a
> max value ?
> I tried r.random but I do not know how to specify these min anx max values.
you can create vector points layer by
v.random out=vrandom n=1000 zmin=0 zmax=100 -z
and then rasterize it
v.to.rast in=vrandom out=rrandom use=z
or to get random surface layer use
r.surf.random out=rsurf min=0 max=100
Martin
PS: Please update your contact info: grassuser at grass.itc.it ->
grass-user at lists.osgeo.org
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
More information about the grass-user
mailing list