1r3.gradient(1) Grass User's Manual r3.gradient(1)
2
3
4
6 r3.gradient - Computes gradient of a 3D raster map and outputs gradi‐
7 ent components as three 3D raster maps.
8
10 raster3d, gradient, voxel
11
13 r3.gradient
14 r3.gradient --help
15 r3.gradient input=name out‐
16 put=grad_x,grad_y,grad_z[,grad_x,grad_y,grad_z,...] [block‐
17 size=size_x,size_y,size_z[,size_x,size_y,size_z,...]] [--overwrite]
18 [--help] [--verbose] [--quiet] [--ui]
19
20 Flags:
21 --overwrite
22 Allow output files to overwrite existing files
23
24 --help
25 Print usage summary
26
27 --verbose
28 Verbose module output
29
30 --quiet
31 Quiet module output
32
33 --ui
34 Force launching GUI dialog
35
36 Parameters:
37 input=name [required]
38 Name of input 3D raster map
39
40 output=grad_x,grad_y,grad_z[,grad_x,grad_y,grad_z,...] [required]
41 Name for output 3D raster map(s)
42
43 blocksize=size_x,size_y,size_z[,size_x,size_y,size_z,...]
44 Size of blocks
45 Default: 30,30,20
46
48 Module r3.gradient computes gradient from a 3D raster map. Results are
49 three 3D raster maps describing the x, y, z components of the computed
50 gradient field.
51
53 # create a 3D raster
54 g.region s=0 n=100 w=0 e=100 b=0 t=100 -p
55 r3.mapcalc "test_gradient = sqrt(row()*row() +col()*col()+ depth()*depth())"
56 # compute gradient
57 r3.gradient input=test_gradient output=grad_x,grad_y,grad_z
58
60 r3.flow, r.flow
61
63 Anna Petrasova, NCSU OSGeoREL, developed during GSoC 2014.
64
65 Last changed: $Date: 2014-11-27 00:20:52 +0100 (Thu, 27 Nov 2014) $
66
68 Available at: r3.gradient source code (history)
69
70 Main index | 3D raster index | Topics index | Keywords index | Graphi‐
71 cal index | Full index
72
73 © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
74
75
76
77GRASS 7.6.0 r3.gradient(1)