r.param.scale(1grass)
π r.param.scale β the terrain-parameter extractor of your dreams π
okay bestie, listen up, because this one is a whole vibe. This is r.param.scale from the GRASS User's Manual (yes, r.param.scale(1grass), she's official π
). What does she do? She extracts terrain parameters from a DEM, and she does it with a multi-scale approach β fitting quadratic parameters to any size window (via least squares). Iconic behaviour honestly.
β¨ KEYWORDS β¨
raster, geomorphology, terrain, elevation, landform
πΈ SYNOPSIS πΈ
r.param.scale
r.param.scale --help
r.param.scale [-c] input=name output=name [slope_tolerance=float]
[curvature_tolerance=float] [size=integer] [method=string]
[exponent=float] [zscale=float] [--overwrite] [--help] [--verbose]
[--quiet] [--ui]
π Flags
-cβ Constrain model through central window cell--overwriteβ Allow output files to overwrite existing files--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π¦ Parameters
input=name[required] β Name of input raster mapoutput=name[required] β Name for output raster map containing morphometric parameterslope_tolerance=floatβ Slope tolerance that defines a βflatβ surface (degrees). Default:1.0curvature_tolerance=floatβ Curvature tolerance that defines βplanarβ surface. Default:0.0001size=integerβ Size of processing window (odd number only). Options:3-499. Default:3method=stringβ Morphometric parameter in βsizeβ window to calculate. Options:elev,slope,aspect,profc,planc,longc,crosc,minic,maxic,feature. Default:elevexponent=floatβ Exponent for distance weighting (0.0-4.0). Default:0.0zscale=floatβ Vertical scaling factor. Default:1.0
π DESCRIPTION π
So r.param.scale extracts terrain parameters from a digital elevation model. She uses a multi-scale approach by fitting a bivariate quadratic polynomial to a given window size using least squares. No cap. π«Ά
The module calculates the following parameters β and heads up, the terminology is from Wood, 1996, with related terminology used in other GRASS modules listed in brackets:
elevβ Generalised elevation value (for resampling purposes at different scale)slopeβ Magnitude of maximum gradient (steepest slope angle)aspectβ Direction of maximum gradient (steepest slope direction = flow direction)profcβ profile curvature (curvature intersecting with the plane defined by Z axis and maximum gradient direction). Positive values describe convex profile curvature, negative values concave profile curvature.plancβ plan curvature (horizontal curvature, intersecting with the XY plane)longcβ longitudinal curvature (profile curvature intersecting with the plane defined by the surface normal and maximum gradient direction)croscβ cross-sectional curvature (tangential curvature intersecting with the plane defined by the surface normal and a tangent to the contour β perpendicular to maximum gradient direction)maxicβ maximum curvature (can be in any direction)minicβ minimum curvature (in direction perpendicular to the direction of of maximum curvature)featureβ Morphometric features: peaks, ridges, passes, channels, pits and planes
π NOTES π
In r.param.scale the direction of maximum gradient (considered downslope) is stored as (West is 0 degree, East is +/- 180 degree):
0..+180degree from West to North to East0..-180degree from West to South to East
β οΈ Note that the aspect map is calculated differently from r.slope.aspect. Do not come for me, I'm just the messenger. π
π EXAMPLE π
The next commands will create a geomorphological map of the Spearfish sample dataset region:
g.region raster=elevation.10m -p
r.param.scale in=elevation.10m output=morphology method=feature size=9
Figure: Geomorphological map of a subregion in the Spearfish (SD) area
π TODO π
- Fix bug when
constrain through central celloption selected. (yeah girl, we know π« ) - Create color tables for all output files (presently only on features).
π REFERENCES π
- Wood, J. (1996): The Geomorphological characterisation of Digital Elevation Models. Diss., Department of Geography, University of Leicester, U.K β online at:
http://hdl.handle.net/2381/34503 - Java Code in LandSerf that implements the same procedure
π₯ SEE ALSO π₯
r.geomorphon, r.slope.aspect
π AUTHORS π
Jo Wood - ASSISTβs home
Update to FP 3/2002: L. Potrich, M. Neteler, S. Menegon (ITC-irst)
β SOURCE CODE β
Available at: r.param.scale source code (history)
Latest change: Friday Apr 17 01:04:26 2026 in commit: 32a143358df26b2e518b03c7e0d79541e8d1e5b1
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page, bestie β r.param.scale(1grass) signing off from the GRASS 8.5.0 era, stay hydrated, go map some terrain πβ¨π¦
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms