[GRASS-SVN] r66086 - grass-addons/grass7/raster/r.geomorphon

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 3 12:13:23 PDT 2015


Author: neteler
Date: 2015-09-03 12:13:23 -0700 (Thu, 03 Sep 2015)
New Revision: 66086

Modified:
   grass-addons/grass7/raster/r.geomorphon/r.geomorphon.html
Log:
r.geomorphon addon manual: example added

Modified: grass-addons/grass7/raster/r.geomorphon/r.geomorphon.html
===================================================================
--- grass-addons/grass7/raster/r.geomorphon/r.geomorphon.html	2015-09-02 14:52:50 UTC (rev 66085)
+++ grass-addons/grass7/raster/r.geomorphon/r.geomorphon.html	2015-09-03 19:13:23 UTC (rev 66086)
@@ -111,7 +111,42 @@
 m is required to be noticed as non-flat. Flatness distance threshold may
 be helpful to avoid this problem.
 
+<h2>EXAMPLES</h2>
 
+<h3>Geomorphon calculation: extraction of terrestial landforms</h3>
+Geomorphon calculation example using the EU DEM 25m:
+
+<div class="code"><pre>
+g.region raster=eu_dem_25m -p
+r.geomorphon dem=eu_dem_25m forms=eu_dem_25m_geomorph
+
+# verify terrestial landforms found in DEM
+r.category eu_dem_25m_geomorph
+ 1  flat
+ 2  summit
+ 3  ridge
+ 4  shoulder
+ 5  spur
+ 6  slope
+ 7  hollow
+ 8  footslope
+ 9  valley
+ 10 depression
+</pre></div>
+
+
+<h3>Extraction of summits</h3>
+
+Using the resulting terrestial landforms map, single landforms can
+be extracted, e.g. the summits, and converted into a vector point map:
+
+<div class="code"><pre>
+r.mapcalc "eu_dem_25m_summits = if(eu_dem_25m_geomorph == 2, 1, null())"
+r.thin eu_dem_25m_summits output=eu_dem_25m_summits_thinned
+r.to.vect eu_dem_25m_summits_thinned output=eu_dem_25m_summits type=point
+v.info eu_dem_25m_summits
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list