[GRASS-SVN] r55542 - grass-addons/grass6/raster/r.roughness

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 27 03:19:14 PDT 2013


Author: neteler
Date: 2013-03-27 03:19:13 -0700 (Wed, 27 Mar 2013)
New Revision: 55542

Added:
   grass-addons/grass6/raster/r.roughness/Makefile
   grass-addons/grass6/raster/r.roughness/description.html
Removed:
   grass-addons/grass6/raster/r.roughness/r.roughness.window.vector.html
Log:
r.roughness activated

Added: grass-addons/grass6/raster/r.roughness/Makefile
===================================================================
--- grass-addons/grass6/raster/r.roughness/Makefile	                        (rev 0)
+++ grass-addons/grass6/raster/r.roughness/Makefile	2013-03-27 10:19:13 UTC (rev 55542)
@@ -0,0 +1,7 @@
+MODULE_TOPDIR = ../..
+
+PGM=r.roughness.window.vector
+
+include $(MODULE_TOPDIR)/include/Make/Script.make
+
+default: script


Property changes on: grass-addons/grass6/raster/r.roughness/Makefile
___________________________________________________________________
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native

Copied: grass-addons/grass6/raster/r.roughness/description.html (from rev 55533, grass-addons/grass6/raster/r.roughness/r.roughness.window.vector.html)
===================================================================
--- grass-addons/grass6/raster/r.roughness/description.html	                        (rev 0)
+++ grass-addons/grass6/raster/r.roughness/description.html	2013-03-27 10:19:13 UTC (rev 55542)
@@ -0,0 +1,49 @@
+<h2>DESCRIPTION</h2>
+
+<em>r.roughness.window.vector</em> calculates surface roughness in a
+moving-window, as the orientation of vectors normal to surface planes.
+<p>
+In this script surface roughness is taken as the dispersion of vectors
+normal to surface areas (pixels). Normal vectors are defined by
+slope and aspect.
+<p>
+This script will create several temporary
+maps, for the directional cosines in each direction (x,y,z), for the
+sum of these cosines and vector strenght.
+<p>
+The options <it>compass</it>, <it>colatitude</it>, <it>xcos</it>,
+<it>ycosm</it> and <it>zcos</it>
+are created as temporary files each time the script is run. If the user
+wants to create several map (with different window sizes, for
+instance), it is recommended to create those maps with 
+<it>r.mapcalc</it> and use them as input:
+<p>
+<div class = "code"><pre>
+r.mapcalc "compass    = if(aspect==0.,0.,if(aspect < 90., 90. - aspect, 360. + 90. - aspect))"
+r.mapcalc "colatitude = 90. - slope"
+r.mapcalc "xcos       = sin(colatitude)*cos(compass)"
+r.mapcalc "ycos       = sin(colatitude)*sin(compass)"
+r.mapcalc "zcos       = cos(colatitude)"
+</pre></div>
+
+If the user does not specify the output maps names, they will be set to 
+<it>INPUT_MAP_vector_strength_NxN</it> and<it>INPUT_MAP_fisher_K_NxN</it>
+<br>
+where N is the window size.
+
+<h2>REFERENCES</h2>
+
+Hobson, R.D., 1972. Surface roughness in topography: quantitative approach.
+In: Chorley, R.J. (ed) <it>Spatial analysis in geomorphology</it>. Methuer,
+London, p.225-245.
+<p>
+McKean, J. & Roering, J., 2004. <it>Objective landslide detection and
+surface morphology mapping using high-resolution airborne laser altimetry
+Geomorphology</it>, 57:331-351
+
+<h2>AUTHOR</h2>
+
+Carlos Henrique Grohmann<br>
+Institute of Geosciences, University of São Paulo, Brazil.
+
+<p><i>Last changed: $Date$</i>

Deleted: grass-addons/grass6/raster/r.roughness/r.roughness.window.vector.html
===================================================================
--- grass-addons/grass6/raster/r.roughness/r.roughness.window.vector.html	2013-03-27 10:08:15 UTC (rev 55541)
+++ grass-addons/grass6/raster/r.roughness/r.roughness.window.vector.html	2013-03-27 10:19:13 UTC (rev 55542)
@@ -1,48 +0,0 @@
-<h2>DESCRIPTION</h2>
-
-<em>r.roughness.window.vector</em> calculates surface roughness in a
-moving-window, as the orientation of vectors normal to surface planes.
-<p>
-In this script surface roughness is taken as the dispersion of vectors
-normal to surface areas (pixels). Normal vectors are defined by
-slope and aspect.
-<p>
-This script will create several temporary
-maps, for the directional cosines in each direction (x,y,z), for the
-sum of these cosines and vector strenght.
-<p>
-The options <it>compass</it>, <it>colatitude</it>, <it>xcos</it>,
-<it>ycosm</it> and <it>zcos</it>
-are created as temporary files each time the script is run. If the user
-wants to create several map (with different window sizes, for
-instance), it is recommended to create those maps with 
-<it>r.mapcalc</it> and use them as input:
-
-<p>
-r.mapcalc "compass    = if(aspect==0.,0.,if(aspect < 90., 90. - aspect, 360. + 90. - aspect))"
-r.mapcalc "colatitude = 90. - slope"
-r.mapcalc "xcos       = sin(colatitude)*cos(compass)"
-r.mapcalc "ycos       = sin(colatitude)*sin(compass)"
-r.mapcalc "zcos       = cos(colatitude)"
-
-If the user does not specify the output maps names, they will be set to 
-<it>INPUT_MAP_vector_strength_NxN</it> and<it>INPUT_MAP_fisher_K_NxN</it>
-<br>
-where N is the window size.
-
-<h2>REFERENCES</h2>
-
-Hobson, R.D., 1972. Surface roughness in topography: quantitative approach.
-In: Chorley, R.J. (ed) <it>Spatial analysis in geomorphology</it>. Methuer,
-London, p.225-245.
-<p>
-McKean, J. & Roering, J., 2004. <it>Objective landslide detection and
-surface morphology mapping using high-resolution airborne laser altimetry
-Geomorphology</it>, 57:331-351
-
-<h2>AUTHOR</h2>
-
-Carlos Henrique Grohmann<br>
-Institute of Geosciences, University of São Paulo, Brazil.
-
-<p><i>Last changed: $Date$</i>



More information about the grass-commit mailing list