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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 5 13:15:19 PST 2014


Author: wenzeslaus
Date: 2014-12-05 13:15:19 -0800 (Fri, 05 Dec 2014)
New Revision: 63389

Added:
   grass/trunk/vector/v.random/vrandom_z.png
Modified:
   grass/trunk/vector/v.random/v.random.html
Log:
v.random: create true 3D vector in the example, add image for the example

Modified: grass/trunk/vector/v.random/v.random.html
===================================================================
--- grass/trunk/vector/v.random/v.random.html	2014-12-05 19:00:27 UTC (rev 63388)
+++ grass/trunk/vector/v.random/v.random.html	2014-12-05 21:15:19 UTC (rev 63389)
@@ -35,11 +35,25 @@
 v.random output=binary_random n=20 zmin=0 zmax=1 column='binary INTEGER'
 </pre></div>
 
-Generate 20 random 3d points with height attribute [0:20] and specific random seed:
+Generate 20 random 3D points using a specific random seed:
 <div class="code"><pre>
-v.random seed=501 output=height_random n=20 zmin=0 zmax=1 column=height
+v.random seed=52 output=height_random npoints=40 zmin=110 zmax=170 -z
 </pre></div>
 
+<p>
+<center>
+<img src="vrandom_z.png"><br>
+Random points with different X, Y, and Z coordinates
+</center>
+
+<!--
+g.region rast=elev_lid792_1m
+...
+d.vect height_random color=60:60:60 icon=basic/point size=40 width=2 zcolor=gyr
+optipng -o5 map.png
+mv map.png vrandom_z.png
+-->
+
 Get 20 random samples from raster map:
 <div class="code"><pre>
 g.region -p rast=elevation

Added: grass/trunk/vector/v.random/vrandom_z.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/vector/v.random/vrandom_z.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list