[GRASS-SVN] r67476 - in grass-addons/grass7: raster raster/r.terrain.texture raster/r.vector.ruggedness vector vector/v.mrmr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 3 15:13:28 PST 2016


Author: neteler
Date: 2016-01-03 15:13:28 -0800 (Sun, 03 Jan 2016)
New Revision: 67476

Modified:
   grass-addons/grass7/raster/Makefile
   grass-addons/grass7/raster/r.terrain.texture/r.terrain.texture.html
   grass-addons/grass7/raster/r.vector.ruggedness/r.vector.ruggedness.html
   grass-addons/grass7/vector/Makefile
   grass-addons/grass7/vector/v.mrmr/v.mrmr.html
Log:
addons: activate r.terrain.texture, r.vector.ruggedness, v.mrmr; HTML cosmetics

Modified: grass-addons/grass7/raster/Makefile
===================================================================
--- grass-addons/grass7/raster/Makefile	2016-01-03 23:05:57 UTC (rev 67475)
+++ grass-addons/grass7/raster/Makefile	2016-01-03 23:13:28 UTC (rev 67476)
@@ -97,12 +97,14 @@
 	r.sun.hourly \
 	r.surf.idw2 \
 	r.surf.nnbathy \
+	r.terrain.texture \
 	r.threshold \
 	r.to.vect.lines \
 	r.to.vect.tiled \
 	r.traveltime \
 	r.univar2 \
 	r.valley.bottom \
+	r.vector.ruggedness \
 	r.vif \
 	r.vol.dem \
 	r.width.funct

Modified: grass-addons/grass7/raster/r.terrain.texture/r.terrain.texture.html
===================================================================
--- grass-addons/grass7/raster/r.terrain.texture/r.terrain.texture.html	2016-01-03 23:05:57 UTC (rev 67475)
+++ grass-addons/grass7/raster/r.terrain.texture/r.terrain.texture.html	2016-01-03 23:13:28 UTC (rev 67476)
@@ -1,23 +1,50 @@
 <h2>DESCRIPTION</h2>
 
-<i>r.terrain.texture </i>calculates the Terrain Surface Texture of Iwahashi and Pike (2007). The calculation measures the frequency of peaks and pits in a DEM over a user specified window size. In practice, this measure represents terrain 'texture' or 'grain'.
+<i>r.terrain.texture </i>calculates the Terrain Surface Texture of
+Iwahashi and Pike (2007). The calculation measures the frequency of peaks and
+pits in a DEM over a user specified window size. In practice, this measure
+represents terrain 'texture' or 'grain'.
 
-The calculation attempts to follow the description in Iwahashi and Pike (2007). Pits and peaks are firstly identified in the DEM by passing the DEM through a median filter with a 3x3 neighbourhood, and the pits and peaks are identified based on the difference between this smoothed DEM and the original terrain surface. By default, the algorithm uses a threshold of zero (i.e., any difference is identified as a pit or peak), however a user specified 'flatness' threshold can also be specified.
+<p>
+The calculation attempts to follow the description in Iwahashi and Pike
+(2007). Pits and peaks are firstly identified in the DEM by passing the
+DEM through a median filter with a 3x3 neighbourhood, and the pits and
+peaks are identified based on the difference between this smoothed DEM
+and the original terrain surface. By default, the algorithm uses a
+threshold of zero (i.e., any difference is identified as a pit or
+peak), however a user specified 'flatness' threshold can also be
+specified.
 
-The final terrain surface texture calculation involves <i>r.neighbors</i> to count the number of pits and peaks occurring within a user specified window size (default is 21 x 21, as per Iwahashi and Pike (2007)), and then this is converted into a percentage.
+The final terrain surface texture calculation involves <i>r.neighbors</i> to
+count the number of pits and peaks occurring within a user specified window
+size (default is 21 x 21, as per Iwahashi and Pike (2007)), and then this
+is converted into a percentage.
 
 <h2>NOTES</h2>
-<i>r.terrain.texture</i> performs best when using larger window sizes, either 21 x 21 or 11 x 11 represent reasonable parameters. 
+<i>r.terrain.texture</i> performs best when using larger window sizes, either
+21 x 21 or 11 x 11 represent reasonable parameters. 
 
 <h2>TODO</h2>
-The same approach was also used by Iwahashi and Pike (2007) to calculate terrain surface convexity, but using convexities and concavities rather than pits and peaks. The ability to calculate this will be implemented in the future. Also, these two morphometric variables can serve as a basis to classify the landscape into generic geomorphic categories.
+The same approach was also used by Iwahashi and Pike (2007) to calculate
+terrain surface convexity, but using convexities and concavities rather
+than pits and peaks. The ability to calculate this will be implemented in
+the future. Also, these two morphometric variables can serve as a basis
+to classify the landscape into generic geomorphic categories.
 
 <h2>EXAMPLE</h2>
+
+<div class="code"><pre>
 r.terrain.texture.py elevation=DEM thres=0 pitdensity=Texture
+</pre></div>
 
 <h2>REFERENCES</h2>
-Iwahashi, J., and Pike, R.J. 2007. Automated classifications of topography from DEMs by an unsupervised nested-means algorithm and a three-part geometric signature. Geomorphology 86, 409-440.
 
+Iwahashi, J., and Pike, R.J. 2007. Automated classifications of topography
+from DEMs by an unsupervised nested-means algorithm and a three-part geometric
+signature. Geomorphology 86, 409-440.
+
 <h2>AUTHOR</h2>
+
 Steven Pawley
-<br><i>Last changed: Saturday 12 December 2015</i>
\ No newline at end of file
+
+<p><i>Last changed: $Date: 2015-10-31 17:33:38 +0100 (Sat, 31 Oct 2015) $</i>

Modified: grass-addons/grass7/raster/r.vector.ruggedness/r.vector.ruggedness.html
===================================================================
--- grass-addons/grass7/raster/r.vector.ruggedness/r.vector.ruggedness.html	2016-01-03 23:05:57 UTC (rev 67475)
+++ grass-addons/grass7/raster/r.vector.ruggedness/r.vector.ruggedness.html	2016-01-03 23:13:28 UTC (rev 67476)
@@ -16,7 +16,9 @@
 
 <h2>EXAMPLE</h2>
 
+<div class="code"><pre>
 r.vector.ruggedness elevation=srtm wsize=5 output=vrm
+</pre></div>
 
 <h2>REFERENCES</h2>
 
@@ -27,4 +29,6 @@
 
 <h2>AUTHOR</h2>
 
-Steven Pawley <br><i>Last changed: Sunday 13 December 2015</i>
\ No newline at end of file
+Steven Pawley
+
+<p><i>Last changed: $Date: 2015-10-31 17:33:38 +0100 (Sat, 31 Oct 2015) $</i>

Modified: grass-addons/grass7/vector/Makefile
===================================================================
--- grass-addons/grass7/vector/Makefile	2016-01-03 23:05:57 UTC (rev 67475)
+++ grass-addons/grass7/vector/Makefile	2016-01-03 23:13:28 UTC (rev 67476)
@@ -37,6 +37,7 @@
 	v.mapcalc \
 	v.maxent.swd \
 	v.median \
+	v.mrmr \
 	v.neighborhoodmatrix \
 	v.net.salesman.opt \
 	v.out.gps \

Modified: grass-addons/grass7/vector/v.mrmr/v.mrmr.html
===================================================================
--- grass-addons/grass7/vector/v.mrmr/v.mrmr.html	2016-01-03 23:05:57 UTC (rev 67475)
+++ grass-addons/grass7/vector/v.mrmr/v.mrmr.html	2016-01-03 23:13:28 UTC (rev 67476)
@@ -40,8 +40,10 @@
 
 <h2>EXAMPLE</h2>
 
-v.mrmr.py vector=vector_layer layer=1 thres=1.0 nfeatures=50
-nsamples=10000 maxvar=10000 method=MID
+<div class="code"><pre>
+v.mrmr.py vector=vector_layer layer=1 thres=1.0 nfeatures=50 \
+	  nsamples=10000 maxvar=10000 method=MID
+</pre></div>
 
 <h2>REFERENCES</h2>
 
@@ -52,4 +54,6 @@
 
 <h2>AUTHOR</h2>
 
-Steven Pawley <br><i>Last changed: Saturday 12 December 2015</i>
\ No newline at end of file
+Steven Pawley
+
+<p><i>Last changed: $Date: 2015-10-31 17:33:38 +0100 (Sat, 31 Oct 2015) $</i>



More information about the grass-commit mailing list