Browse Source

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71959 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 7 năm trước cách đây
mục cha
commit
021fa9d879
2 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 15 0
      raster/r.topidx/r.topidx.html
  2. BIN
      raster/r.topidx/r_topidx.png

+ 15 - 0
raster/r.topidx/r.topidx.html

@@ -16,6 +16,21 @@ r.mapcalc "belev = if(isnull(basin), basin, elev)"
 <p>
 <em>r.stats -Anc</em> prints out averaged statistics for topographic index.
 
+<h2>EXAMPLE</h2>
+
+Running the command below will generate the topographic index map shown in the figure:
+
+<div class="code"><pre>
+g.region raster=elevation -p
+r.topidx input=elevation output=topidx_elevation
+</pre></div>
+
+<div align="center" style="margin: 10px">
+<img src="r_topidx.png" alt="r.topidx example" border="0">
+<br>
+<i>Figure: topographic index map derived from elevation map</i>
+</div>
+
 <h2>SEE ALSO</h2>
 <em>
 <a href="r.topmodel.html">r.topmodel</a>,

BIN
raster/r.topidx/r_topidx.png