Browse Source

r.support: added examples, thanks to Jerry Huang and Google Code-in

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71906 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 7 years ago
parent
commit
e0ad90dd38
1 changed files with 23 additions and 0 deletions
  1. 23 0
      raster/r.support/r.support.html

+ 23 - 0
raster/r.support/r.support.html

@@ -5,6 +5,29 @@ information. Editing of raster map color tables, category labels, header,
 history, and title is supported. Category labels can also be copied from
 another raster map.
 
+<h2>EXAMPLES</h2>
+These examples are based on the North Carolina dataset, more specfically the <em>landuse</em> raster map.
+
+Copy the landuse map to the current mapset
+<div class="code"><pre>g.copy raster=landuse,my_landuse
+</pre></div>
+
+<h3>Update statistics</h3>
+<div class="code"><pre>r.support -s map=my_landuse 
+</pre></div>
+
+<h3>Update Title</h3>
+<div class="code"><pre>r.support map=my_landuse title="Landuse copied"
+</pre></div>
+
+<h3>Append to History Metadata</h3>
+<div class="code"><pre>r.support map=my_landuse history="Copied from PERMANENT mapset"
+</pre></div>
+
+<h3>Update Units Display</h3>
+<div class="code"><pre>r.support map=my_landuse units=meter
+</pre></div>
+
 <h2>NOTES</h2>
 
 If metadata options such as <b>title</b> or <b>history</b> are given the