If You are interested in random surface (all cells with random values)
You can use r.mapcalc rand(min, max) or r.random.cells or
r.random.surface etc.
To get raster with random POINTS use r.random and provide random
SURFACE map as input for resulting point values.
Like this:
r.mapcalc rsurf=rand(m
Hi,
2008/7/14 Maciej Sieczka <[EMAIL PROTECTED]>:
>> 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.
[...]
> In case you are not sure what GRASS module to use, but have a genera
[EMAIL PROTECTED] pisze:
Dear All,
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.
In case you are not sure what GRASS module to use, but have a general
idea of what you are lookin
A simple hint.
if you want your number being between XMax and XMin you could use:
x = random_number(XMax-XMin)+XMin
where 0<=random_number<=1
Anyway, r.mapcalc already contains rand(min,max), wich produces
exactly what you want [1]
giovanni
[1] http://grass.itc.it/grass63/manuals/html63_user/r
Hi,
2008/7/14 <[EMAIL PROTECTED]>:
> 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 the
Dear All,
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.
Thanks in advance,
Jessica
_
Jessica Gervais
Tel: +352- 425991-628
Mail: [EMAIL PR