[GRASS-SVN] r68781 - in grass/branches/releasebranch_7_2/temporal: t.sample t.vect.import

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 26 15:25:18 PDT 2016


Author: neteler
Date: 2016-06-26 15:25:18 -0700 (Sun, 26 Jun 2016)
New Revision: 68781

Modified:
   grass/branches/releasebranch_7_2/temporal/t.sample/t.sample.html
   grass/branches/releasebranch_7_2/temporal/t.vect.import/t.vect.import.html
Log:
t.sample + t.vect.import manual: fix examples using v.random

Modified: grass/branches/releasebranch_7_2/temporal/t.sample/t.sample.html
===================================================================
--- grass/branches/releasebranch_7_2/temporal/t.sample/t.sample.html	2016-06-26 22:24:39 UTC (rev 68780)
+++ grass/branches/releasebranch_7_2/temporal/t.sample/t.sample.html	2016-06-26 22:25:18 UTC (rev 68781)
@@ -51,8 +51,8 @@
 r.mapcalc expression="a6 = rand(0, 650)" -s
 
 # Generate the vector map layer
-v.random -z output=pnts1 n=20 zminput=0 zmax=100 column=height
-v.random -z output=pnts2 n=20 zminput=0 zmax=100 column=height
+v.random -z output=pnts1 n=20 zmin=0 zmax=100 column=height
+v.random -z output=pnts2 n=20 zmin=0 zmax=100 column=height
 
 n1=`g.tempfile pid=1 -d` 
 n2=`g.tempfile pid=2 -d`

Modified: grass/branches/releasebranch_7_2/temporal/t.vect.import/t.vect.import.html
===================================================================
--- grass/branches/releasebranch_7_2/temporal/t.vect.import/t.vect.import.html	2016-06-26 22:24:39 UTC (rev 68780)
+++ grass/branches/releasebranch_7_2/temporal/t.vect.import/t.vect.import.html	2016-06-26 22:25:18 UTC (rev 68781)
@@ -24,7 +24,7 @@
 db.connect -d
 
 for i in `seq 1 5` ; do
-    v.random output=map_$i n=500 input=boundary_state at PERMANENT
+    v.random output=map_$i n=500 restrict=boundary_state at PERMANENT
     echo map_$i >> map_list.txt
 done
 



More information about the grass-commit mailing list