<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: v.random</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="grassdocs.css" type="text/css"> </head> <body bgcolor="white"> <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> <h2>NAME</h2> <em><b>v.random</b></em> - Randomly generate a 2D/3D GRASS vector points map. <h2>KEYWORDS</h2> vector, statistics <h2>SYNOPSIS</h2> <b>v.random</b><br> <b>v.random help</b><br> <b>v.random</b> [-<b>zd</b>] <b>output</b>=<em>name</em> <b>n</b>=<em>integer</em> [<b>zmin</b>=<em>float</em>] [<b>zmax</b>=<em>float</em>] [--<b>overwrite</b>] [--<b>verbose</b>] [--<b>quiet</b>] <h3>Flags:</h3> <DL> <DT><b>-z</b></DT> <DD>Create 3D output</DD> <DT><b>-d</b></DT> <DD>Use drand48() function (default=rand() )</DD> <DT><b>--overwrite</b></DT> <DD>Allow output files to overwrite existing files</DD> <DT><b>--verbose</b></DT> <DD>Verbose module output</DD> <DT><b>--quiet</b></DT> <DD>Quiet module output</DD> </DL> <h3>Parameters:</h3> <DL> <DT><b>output</b>=<em>name</em></DT> <DD>Name for output vector map</DD> <DT><b>n</b>=<em>integer</em></DT> <DD>Number of points to be created</DD> <DT><b>zmin</b>=<em>float</em></DT> <DD>Minimum z height (needs -z flag)</DD> <DD>Default: <em>0.0</em></DD> <DT><b>zmax</b>=<em>float</em></DT> <DD>Maximum z height (needs -z flag)</DD> <DD>Default: <em>0.0</em></DD> </DL> <H2>DESCRIPTION</H2> <EM>v.random</EM> randomly generates vector points within the current region using the selected random number generator. <H2>SEE ALSO</H2> UNIX man pages for <EM>rand(3)</EM> and <EM>drand48(3)</EM>. <P> <EM> <A HREF="g.region.html">g.region</a>, <A HREF="r.random.html">r.random</a>, <A HREF="v.perturb.html">v.perturb</A>, <A HREF="v.sample.html">v.sample</A></EM> </EM> <H2>BUGS</H2> The RNG used by <EM><A HREF="v.perturb.html">v.perturb</A></EM> should probably be added to this program.<BR> Currently no attribute table is generated. Please send any bug fixes and comments to the grass development team.<br> <a href="http://grass.itc.it"><tt>http://grass.itc.it</tt></a> <H2>AUTHOR</H2> <A HREF="http://mccauley-usa.com/">James Darrell McCauley</A> <A HREF="mailto:darrell@mccauley-usa.com"><darrell@mccauley-usa.com></A>, <br>when he was at: <A HREF="http://ABE.www.ecn.purdue.edu/ABE/">Agricultural Engineering</A> <A HREF="http://www.purdue.edu/">Purdue University</A> <p><i>Last changed: $Date: 2007-03-20 07:26:33 +0100 (Tue, 20 Mar 2007) $</i> <HR> <P><a href="index.html">Main index</a> - <a href="vector.html">vector index</a> - <a href="full_index.html">Full index</a></P> <P>© 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p> </body> </html>