r.plane(1grass)
β¨ r.plane β¨ (that's the GRASS manual page for r.plane, bestie π
)
okay so imagine you want a tilted plane as a raster map. you give it a dip, an azimuth, and one single point, and it builds the whole plane for you. iconic behavior honestly π«Ά
πΈ NAME πΈ
r.plane β creates raster plane map given dip (inclination), aspect (azimuth) and one point.
π KEYWORDS π
raster, elevation
π¦ SYNOPSIS π¦
r.plane
r.plane --help
r.plane output=name dip=float azimuth=float easting=float northing=float
elevation=float [type=string] [--overwrite] [--help] [--verbose]
[--quiet] [--ui]
π Flags π
--overwriteβ lets your output files just yeet over any existing files, no cap--helpβ prints the usage summary so you're not lost--verboseβ verbose module output, she's chatty--quietβ quiet module output, she's mysterious--uiβ forces the GUI dialog to launch
π Parameters π
output=name[required] β the name for your output raster map β¨dip=float[required] β dip of the plane, in degrees- Options:
-90-90 - Default:
0.0
- Options:
azimuth=float[required] β azimuth of the plane, in degrees- Options:
0-360 - Default:
0.0
- Options:
easting=float[required] β easting coordinate of a point that's sitting on the planenorthing=float[required] β northing coordinate of a point that's sitting on the planeelevation=float[required] β elevation coordinate of a point that's sitting on the planetype=stringβ type of raster map to be created β storage type for the resultant raster map- Options:
CELL,FCELL,DCELL - Default:
FCELL CELL: IntegerFCELL: Single precision floating pointDCELL: Double precision floating point
- Options:
π DESCRIPTION π
r.plane creates a tilted plane raster map, and you get to tell it everything: the inclination, the azimuth, and the geographic location of one point that lives on that plane. it's giving custom order π§
the angle orientations of the azimuth parameter increase counter-clockwise, so like: 0 degree = N, 45 degree = NW, 90 degree = W, etc. π«
and when you crank up the dip parameter, it progressively lowers (aka dips) the northern half of the plane and inclines the southern half β that's assuming azimuth is just sitting there held constant at 0 degrees.
π NOTES π
g.region -c is your bestie here, because it hands you the easting and northing coordinates for the center of the current region. π«Ά
also, disk space tea β: CELL (integer) maps take less disk space than FCELLs (floating point), and FCELLs in turn take up less space than DCELLs (double precision floating point). so choose wisely, queen π
β EXAMPLE β
a tilted plane in the North Carolina sample dataset region:
# set computational region
g.region raster=elev_lid792_1m -p
# get center coordinates as an example
g.region -c
# get terrain height at point
r.what map=elev_lid792_1m coordinates=638650.0,220375.0
# shows elevation: 116.7734
# generate tilted plane
r.plane myplane30 dip=30 az=75 east=638650.0 north=220375.0 \
elev=116.7734 type=FCELL
Figure: Tilted plane shown in NVIZ along with elevation map
π AUTHORS π
- Stefan JΓ€ger (1994), University of Heidelberg during a stay at USGS
- Updated to GRASS 5.7 by Michael Barton, Arizona State University
- Full rewrite for GRASS 7 by Glynn Clements
π₯ SOURCE CODE π₯
Available at: r.plane source code (history)
Latest change: Tuesday Apr 29 06:15:53 2025 in commit: 14f53105a219d361c75919765a39ecaedaf0650a
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
and that's the whole thing, bestie β go make some planes π β¨
shoutout to the GRASS 8.5.0 era: this is the GRASS 8.5.0 Reference Manual, and the copyright reads Β© 2003-2026 GRASS Development Team. mwah π«Άπ
π¦ 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