[GRASS-SVN] r73676 - in grass/branches/releasebranch_7_6/doc: python/script raster/r.example vector/v.example

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 13 08:36:22 PST 2018


Author: neteler
Date: 2018-11-13 08:36:22 -0800 (Tue, 13 Nov 2018)
New Revision: 73676

Modified:
   grass/branches/releasebranch_7_6/doc/python/script/r.example.html
   grass/branches/releasebranch_7_6/doc/raster/r.example/r.example.html
   grass/branches/releasebranch_7_6/doc/vector/v.example/v.example.html
Log:
r.example, v.example manuals: expanded to be closer to https://trac.osgeo.org/grass/wiki/Submitting/Docs (trunk, r73675)

Modified: grass/branches/releasebranch_7_6/doc/python/script/r.example.html
===================================================================
--- grass/branches/releasebranch_7_6/doc/python/script/r.example.html	2018-11-13 16:35:35 UTC (rev 73675)
+++ grass/branches/releasebranch_7_6/doc/python/script/r.example.html	2018-11-13 16:36:22 UTC (rev 73676)
@@ -1,17 +1,35 @@
 <h2>DESCRIPTION</h2>
 
 <em>r.example</em> selects values from raster above value of mean plus
-standard deviation
+standard deviation.
+See the source code for details.
 
+<h2>NOTES</h2>
+
+Some more detailed notes go here.
+
+<h2>EXAMPLE</h2>
+
+Computing the mean and standard deviation of the raster map "elevation"
+(North Carolina sample dataset):
+
+<div class="code"><pre>
+g.region raster=elevation -p
+r.example input=elevation output=elevation_mean_stddev
+r.info elevation_mean_stddev
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>
 <a href="r.univar.html">r.univar</a>,
-<a href="r.mapcalc.html">r.mapcalc</a>
+<a href="r.mapcalc.html">r.mapcalc</a>,
+<a href="v.example.html">v.example</a>
 </em>
 
+<a href="http://grass.osgeo.org/programming7/">GRASS Programmer's Manual</a>
 
-<h2>AUTHOR</h2>
+<h2>AUTHORS</h2>
 
 GRASS Development Team
 

Modified: grass/branches/releasebranch_7_6/doc/raster/r.example/r.example.html
===================================================================
--- grass/branches/releasebranch_7_6/doc/raster/r.example/r.example.html	2018-11-13 16:35:35 UTC (rev 73675)
+++ grass/branches/releasebranch_7_6/doc/raster/r.example/r.example.html	2018-11-13 16:36:22 UTC (rev 73676)
@@ -1,19 +1,37 @@
 <h2>DESCRIPTION</h2>
 
 <em>r.example</em> does practically do nothing, except
-for illustrating GRASS raster programming. It copies
+for illustrating GRASS GIS raster programming. It copies
 over an existing raster map to a new raster map.
 See the source code for details.
 
+<h2>NOTES</h2>
+
+Some more detailed notes go here.
+
+<h2>EXAMPLE</h2>
+
+Create a copy of the raster map "elevation"
+(North Carolina sample dataset):
+
+<div class="code"><pre>
+g.region raster=elevation -p
+r.example input=elevation output=elevation2
+r.info elevation2
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>
 <a href="r.stats.html">r.stats</a>,
-<a href="http://grass.osgeo.org/programming7/">GRASS Programmer's Manual</a>
+<a href="v.example.html">v.example</a>
 </em>
 
+<em>
+<a href="https://grass.osgeo.org/programming7/">GRASS Programmer's Manual</a>
+</em>
 
-<h2>AUTHOR</h2>
+<h2>AUTHORS</h2>
 
 GRASS Development Team
 

Modified: grass/branches/releasebranch_7_6/doc/vector/v.example/v.example.html
===================================================================
--- grass/branches/releasebranch_7_6/doc/vector/v.example/v.example.html	2018-11-13 16:35:35 UTC (rev 73675)
+++ grass/branches/releasebranch_7_6/doc/vector/v.example/v.example.html	2018-11-13 16:36:22 UTC (rev 73676)
@@ -3,21 +3,35 @@
 <em>v.example</em> is an example vector module that does something like
 labeling all vectors with value 1. A new map is written instead of updating
 the input map.
+See the source code for details.
 
+<h2>NOTES</h2>
+
+Some more detailed notes go here.
+
 <h2>EXAMPLE</h2>
 
+Label all vectors with value 1 (North Carolina sample dataset):
+
 <div class="code"><pre>
-v.example input=map output=newmap
+v.example input=zipcodes_wake output=newmap
+v.category newmap option=report
 </pre></div>
 
 <h2>SEE ALSO</h2>
 
 <em>
-<a href="http://grass.osgeo.org/programming7/">GRASS Programmer's Manual</a>
+<a href="r.example.html">r.example</a>,
+<a href="v.category.html">r.category</a>,
+<a href="v.example.html">v.example</a>
 </em>
 
-<h2>AUTHOR</h2>
+<em>
+<a href="https://grass.osgeo.org/programming7/">GRASS Programmer's Manual</a>
+</em>
 
+<h2>AUTHORS</h2>
+
 Radim Blazek, ITC-irst, Trento, Italy
 
 <p><i>Last changed: $Date$</i>



More information about the grass-commit mailing list