Ver código fonte

GRASS_RND_SEED replaced by seed= (see https://trac.osgeo.org/grass/changeset/61353)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61358 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 anos atrás
pai
commit
22c22eb24f

+ 0 - 5
lib/init/variables.html

@@ -201,11 +201,6 @@ PERMANENT
   <dd>[used during install process for generating man pages]<br>
     set Perl with path.</dd>
   
-  <dt>GRASS_RND_SEED</dt>
-  <dd>set random seed
-    for <em><a href="r.mapcalc.html">r.mapcalc</a></em> rand()
-    function.</dd>
-
   <dt>GRASS_SKIP_MAPSET_OWNER_CHECK</dt>
   <dd>By default it is not possible to work with MAPSETs that are
     not owned by current user. Setting this variable to any non-empty value

+ 1 - 2
temporal/t.rast.neighbors/t.rast.neighbors.html

@@ -34,8 +34,7 @@ MAPS="map_1 map_2 map_3 map_4 map_5 map_6 map_7"
 
 count=1
 for map in ${MAPS} ; do
-    export GRASS_RND_SEED=${count}
-    r.mapcalc --o expr="${map} = rand(0, 550)" 
+    r.mapcalc --o expr="${map} = rand(0, 550)" seed=${count}
     echo ${map} >> map_list.txt 
     count=$((count+1))
 done