[GRASS-SVN] r72998 - grass/trunk/vector/v.random

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 19 07:53:47 PDT 2018


Author: neteler
Date: 2018-07-19 07:53:47 -0700 (Thu, 19 Jul 2018)
New Revision: 72998

Modified:
   grass/trunk/vector/v.random/v.random.html
Log:
v.random manual: underline that attribute transfer requires layer=1

Modified: grass/trunk/vector/v.random/v.random.html
===================================================================
--- grass/trunk/vector/v.random/v.random.html	2018-07-19 14:18:06 UTC (rev 72997)
+++ grass/trunk/vector/v.random/v.random.html	2018-07-19 14:53:47 UTC (rev 72998)
@@ -4,7 +4,7 @@
 current region using the selected random number generator.
 
 <p><em>v.random</em> can generate also 3D vector points or write
-random value to attribute table. Point height range or attribute value
+random value to the attribute table. Point height range or attribute value
 range is controlled by specifying <b>zmin</b> and <b>zmax</b> options.
 Both z values are included in range (<em>zmin <= z <=
 zmax</em>). Generated random attribute value type can be controlled
@@ -29,9 +29,14 @@
 
 <p>
 Attributes attached to <b>restrict</b> vector map are also transfered
-if <b>layer</b> is specified,
+if the <b>layer</b> parameter is defined > 0,
 see <em><a href="#stratified-random-sampling:-random-sampling-from-vector-map-by-attribute">example</a></em>
 below.
+
+<h2>NOTES</h2>
+
+Importantly, attributes will only be transferred if <b>layer</b> > 0
+(e.g., <tt>layer=1</tt>).
   
 <h2>EXAMPLES</h2>
 All examples are based on the North Carolina sample dataset.



More information about the grass-commit mailing list