r.param.scale(1)
π r.param.scale π
okay so bestie, welcome to the GRASS GIS User's Manual page for r.param.scale β¨ β this is the one that pulls terrain parameters out of a DEM, and it does it multi-scale style by fitting quadratic parameters to a window of literally any size (via least squares). no cap.
π 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 insizewindow 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 π
r.param.scale extracts terrain parameters from a digital elevation model. It uses a multi-scale approach by fitting a bivariate quadratic polynomial to a given window size using least squares. the way it just does that? iconic.
The module calculates the following parameters (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 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
ngl bestie, note that the aspect map is calculated differently from r.slope.aspect. it's giving "same vibes, different math" π
πΈ 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 cell' option selected. 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)
Accessed: Saturday Jan 17 05:40:54 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page bestie, r.param.scale(1) from the GRASS GIS User's Manual, running on GRASS 8.4.2 β go make some beautiful terrain parameter maps, you absolute main character π«Άπβ¨
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· 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