فهرست منبع

r.mapcalc manual: fix if() statement formula (trac https://trac.osgeo.org/grass/ticket/2883)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67789 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 سال پیش
والد
کامیت
1ff4da7936
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      raster/r.mapcalc/r.mapcalc.html

+ 2 - 2
raster/r.mapcalc/r.mapcalc.html

@@ -646,9 +646,9 @@ To mask raster map layer <em>b</em> by raster map layer <em>a</em>:
 <div class="code"><pre>
 result = if(a,b)
 </pre></div>
-To change all values below 5 to NULL, keep otherwise:
+To change all values below 5 to NULL:
 <div class="code"><pre>
-newmap = if(map &lt; 5, null(), map)
+newmap = if(map&lt;5, null(), 5)
 </pre></div>
 The graph() function allows users to specify a x-y conversion using 
 pairs of x,y coordinates.