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

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


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

Modified:
   grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.html
   grass/branches/releasebranch_7_0/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_0/temporal/t.sample/t.sample.html
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.html	2016-06-26 22:25:18 UTC (rev 68781)
+++ grass/branches/releasebranch_7_0/temporal/t.sample/t.sample.html	2016-06-26 22:25:46 UTC (rev 68782)
@@ -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_0/temporal/t.vect.import/t.vect.import.html
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.vect.import/t.vect.import.html	2016-06-26 22:25:18 UTC (rev 68781)
+++ grass/branches/releasebranch_7_0/temporal/t.vect.import/t.vect.import.html	2016-06-26 22:25:46 UTC (rev 68782)
@@ -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