1d.rast.num(1) GRASS GIS User's Manual d.rast.num(1)
2
3
4
6 d.rast.num - Overlays cell category values on a raster map displayed
7 in the active graphics frame.
8
10 display, map annotations, raster
11
13 d.rast.num
14 d.rast.num --help
15 d.rast.num [-af] map=name [text_color=name] [grid_color=name]
16 [precision=integer] [font=string] [path=name] [charset=string]
17 [--help] [--verbose] [--quiet] [--ui]
18
19 Flags:
20 -a
21 Align grids with raster cells
22
23 -f
24 Get text color from cell color value
25
26 --help
27 Print usage summary
28
29 --verbose
30 Verbose module output
31
32 --quiet
33 Quiet module output
34
35 --ui
36 Force launching GUI dialog
37
38 Parameters:
39 map=name [required]
40 Name of raster map
41
42 text_color=name
43 Text color
44 Either a standard color name or R:G:B triplet
45 Default: black
46
47 grid_color=name
48 Grid color
49 Either a standard color name, R:G:B triplet, or "none"
50 Default: gray
51
52 precision=integer
53 Number of significant digits (floating point only)
54 Options: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
55 Default: 1
56
57 font=string
58 Font name
59
60 path=name
61 Path to font file
62
63 charset=string
64 Text encoding (only applicable to TrueType fonts)
65
67 d.rast.num overlays cell category values onto a raster map layer dis‐
68 played on the user’s graphics monitor. Category values will be dis‐
69 played in the text color given and scaled to fit within a single cell.
70 A grid outlining each map cell will also be overlain in a user-speci‐
71 fied color, unless it has been set to "none".
72
73 If no grid color is given the default will be used. If no map layer is
74 specified, the program will use whatever raster map layer is currently
75 displayed in the active frame on the graphics monitor.
76
77 If the -f flag is given the displayed number will take on the color of
78 the base map in that cell.
79
81 The user is advised to set the current region to a relatively small
82 area (i.e., less than 100 rows by 100 columns); otherwise, the individ‐
83 ual cells being displayed will be small and the category value associ‐
84 ated with each will be difficult to see. No data cells are indicated
85 with "Null".
86
88 A) Distance from the streams network (North Carolina sample dataset):
89 g.region raster=streams_derived -p
90 r.grow.distance input=streams_derived distance=dist_from_streams
91 d.rast.num dist_from_streams -a
92 Euclidean distance from the streams network in meters (detail, numbers
93 shown with d.rast.num)
94
96 d.frame, d.grid, d.rast, d.rast.arrow, d.rast.edit, g.region,
97 r.slope.aspect
98
100 Raghavan Srinivasan, and Chris Rewerts,
101 Agricultural Engineering, Purdue University
102
104 Available at: d.rast.num source code (history)
105
106 Accessed: Saturday Oct 28 18:17:16 2023
107
108 Main index | Display index | Topics index | Keywords index | Graphical
109 index | Full index
110
111 © 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual
112
113
114
115GRASS 8.3.1 d.rast.num(1)