[GRASS-SVN] r68276 - grass/branches/releasebranch_7_0/raster/r.mapcalc

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 17 15:00:57 PDT 2016


Author: neteler
Date: 2016-04-17 15:00:57 -0700 (Sun, 17 Apr 2016)
New Revision: 68276

Modified:
   grass/branches/releasebranch_7_0/raster/r.mapcalc/r.mapcalc.html
   grass/branches/releasebranch_7_0/raster/r.mapcalc/r3.mapcalc.html
Log:
r.mapcalc/r3.mapcalc manual: fix HTML style of r68269

Modified: grass/branches/releasebranch_7_0/raster/r.mapcalc/r.mapcalc.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.mapcalc/r.mapcalc.html	2016-04-17 21:59:51 UTC (rev 68275)
+++ grass/branches/releasebranch_7_0/raster/r.mapcalc/r.mapcalc.html	2016-04-17 22:00:57 UTC (rev 68276)
@@ -4,7 +4,6 @@
 involving existing raster map layers, integer or floating point constants,
 and functions.
 
-
 <h3>Program use</h3>
 
 <em>r.mapcalc</em> expression have the form:
@@ -680,20 +679,24 @@
 
 <h2>KNOWN ISSUES</h2>
 
-<p>The <em>result</em> variable on the left hand side of the equation should not
+The <em>result</em> variable on the left hand side of the equation should not
 appear in the <em>expression</em> on the right hand side.
+
 <div class="code"><pre>
-<s>mymap = if( mymap > 0, mymap, 0)</s>
+<s>mymap = if( mymap > 0, mymap, 0)</s>
 </pre></div>
-<p>Any maps generated by an r.mapcalc command only exist after the entire
+
+<p>Any maps generated by a <em>r.mapcalc</em> command only exist after the entire
 command has completed. All maps are generated concurrently, row-by-row
 (i.e. there is an implicit "for row in rows {...}" around the entire expression).
-Thus #, @ and [ ] operators can not be used on a map generated within same
-r.mapcalc command run.
+Thus the <tt>#</tt>, <tt>@</tt>, and <tt>[ ]</tt> operators cannot be used on a map
+generated within same <em>r.mapcalc</em> command run.
+
 <div class="code"><pre>
 newmap = oldmap * 3.14
 <s>othermap = newmap[-1, 0] / newmap[1, 0]</s>
 </pre></div>
+
 <p>Continuation lines must end with a <tt>\</tt> and have <em>no</em> trailing
 white space (blanks or tabs). If the user does leave white space at the end of
 continuation lines, the error messages produced by <em>r.mapcalc</em> will

Modified: grass/branches/releasebranch_7_0/raster/r.mapcalc/r3.mapcalc.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.mapcalc/r3.mapcalc.html	2016-04-17 21:59:51 UTC (rev 68275)
+++ grass/branches/releasebranch_7_0/raster/r.mapcalc/r3.mapcalc.html	2016-04-17 22:00:57 UTC (rev 68276)
@@ -1,10 +1,10 @@
 <h2>DESCRIPTION</h2>
+
 <em>r3.mapcalc</em> performs arithmetic on raster map layers.
 New raster map layers can be created which are arithmetic expressions
 involving existing raster map layers, integer or floating point constants,
 and functions.
 
-
 <h3>Program use</h3>
 
 <em>r3.mapcalc</em> expression have the form:
@@ -552,13 +552,24 @@
 
 <h2>KNOWN ISSUES</h2>
 
-<p>The <em>result</em> variable on the left hand side of the equation should not
+The <em>result</em> variable on the left hand side of the equation should not
 appear in the <em>expression</em> on the right hand side.
-<p>Any maps generated by an r3.mapcalc command only exist after the entire
+
+<div class="code"><pre>
+<s>mymap = if( mymap > 0, mymap, 0)</s>
+</pre></div>
+
+<p>Any maps generated by a <em>r3.mapcalc</em> command only exist after the entire
 command has completed. All maps are generated concurrently, row-by-row
 (i.e. there is an implicit "for row in rows {...}" around the entire expression).
-Thus #, @ and [ ] operators can not be used on a map generated within same
-r3.mapcalc command run.
+Thus the <tt>#</tt>, <tt>@</tt>, and <tt>[ ]</tt> operators cannot be used on a map
+generated within same <em>r3.mapcalc</em> command run.
+
+<div class="code"><pre>
+newmap = oldmap * 3.14
+<s>othermap = newmap[-1, 0] / newmap[1, 0]</s>
+</pre></div>
+
 <p>Continuation lines must end with a <tt>\</tt> and have <em>no</em> trailing
 white space (blanks or tabs). If the user does leave white space at the end of
 continuation lines, the error messages produced by <em>r3.mapcalc</em> will



More information about the grass-commit mailing list