Bläddra i källkod

t.sample + t.vect.import manual: fix examples using v.random

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68780 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 år sedan
förälder
incheckning
4f374074db
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      temporal/t.sample/t.sample.html
  2. 1 1
      temporal/t.vect.import/t.vect.import.html

+ 2 - 2
temporal/t.sample/t.sample.html

@@ -51,8 +51,8 @@ r.mapcalc expression="a5 = rand(0, 300)" -s
 r.mapcalc expression="a6 = rand(0, 650)" -s
 r.mapcalc expression="a6 = rand(0, 650)" -s
 
 
 # Generate the vector map layer
 # 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` 
 n1=`g.tempfile pid=1 -d` 
 n2=`g.tempfile pid=2 -d`
 n2=`g.tempfile pid=2 -d`

+ 1 - 1
temporal/t.vect.import/t.vect.import.html

@@ -24,7 +24,7 @@ The space time dataset is then exported and re-imported.
 db.connect -d
 db.connect -d
 
 
 for i in `seq 1 5` ; do
 for i in `seq 1 5` ; do
-    v.random output=map_$i n=500 input=boundary_state@PERMANENT
+    v.random output=map_$i n=500 restrict=boundary_state@PERMANENT
     echo map_$i >> map_list.txt
     echo map_$i >> map_list.txt
 done
 done