DOKK / manpages / debian 10 / grass-doc / r3.gradient.1grass.en
r3.gradient(1grass) Grass User's Manual r3.gradient(1grass)

r3.gradient - Computes gradient of a 3D raster map and outputs gradient components as three 3D raster maps.

raster3d, gradient, voxel

r3.gradient
r3.gradient --help
r3.gradient input=name output=grad_x,grad_y,grad_z[,grad_x,grad_y,grad_z,...] [blocksize=size_x,size_y,size_z[,size_x,size_y,size_z,...]] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of input 3D raster map

Name for output 3D raster map(s)

Size of blocks
Default: 30,30,20

Module r3.gradient computes gradient from a 3D raster map. Results are three 3D raster maps describing the x, y, z components of the computed gradient field.

# create a 3D raster
g.region s=0 n=100 w=0 e=100 b=0 t=100 -p
r3.mapcalc "test_gradient = sqrt(row()*row() +col()*col()+ depth()*depth())"
# compute gradient
r3.gradient input=test_gradient output=grad_x,grad_y,grad_z

r3.flow, r.flow

Anna Petrasova, NCSU OSGeoREL, developed during GSoC 2014.

Last changed: $Date: 2014-11-27 00:20:52 +0100 (Thu, 27 Nov 2014) $

Available at: r3.gradient source code (history)

Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual

GRASS 7.6.0