GRASS logo

NAME

v.random - Randomly generate a 2D/3D vector points map.

KEYWORDS

vector, statistics

SYNOPSIS

v.random
v.random help
v.random [-zdb] output=name n=integer [zmin=float] [zmax=float] [--overwrite] [--verbose] [--quiet]

Flags:

-z
Create 3D output
-d
Use drand48() function instead of rand()
-b
Do not build topology
--overwrite
Allow output files to overwrite existing files
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

output=name
Name for output vector map
n=integer
Number of points to be created
zmin=float
Minimum z height (needs -z flag)
Default: 0.0
zmax=float
Maximum z height (needs -z flag)
Default: 0.0

DESCRIPTION

v.random randomly generates vector points within the current region using the selected random number generator.

SEE ALSO

UNIX man pages for rand(3) and drand48(3).

g.region, r.random, v.perturb, v.sample

BUGS

The RNG used by v.perturb should probably be added to this program.
Currently no attribute table is generated. Please send any bug fixes and comments to the grass development team.
http://grass.itc.it

AUTHOR

James Darrell McCauley <darrell@mccauley-usa.com>,
when he was at: Agricultural Engineering Purdue University

Last changed: $Date: 2007-03-19 23:26:33 -0700 (Mon, 19 Mar 2007) $


Main index - vector index - Full index

© 2003-2008 GRASS Development Team