1d.grid(1) GRASS GIS User's Manual d.grid(1)
2
3
4
6 d.grid - Overlays a user-specified grid in the active display frame on
7 the graphics monitor.
8
10 display, cartography, graticule, grid
11
13 d.grid
14 d.grid --help
15 d.grid [-agwcdfnbt] size=value [origin=east,north] [direc‐
16 tion=string] [width=float] [color=name] [border_color=name]
17 [text_color=name] [bgcolor=name] [fontsize=integer] [--help]
18 [--verbose] [--quiet] [--ui]
19
20 Flags:
21 -a
22 Align the origin to the east-north corner of the current region
23
24 -g
25 Draw geographic grid (referenced to current ellipsoid)
26
27 -w
28 Draw geographic grid (referenced to WGS84 ellipsoid)
29
30 -c
31 Draw ’+’ marks instead of grid lines
32
33 -d
34 Draw ’.’ marks instead of grid lines
35
36 -f
37 Draw fiducial marks instead of grid lines
38
39 -n
40 Disable grid drawing
41
42 -b
43 Disable border drawing
44
45 -t
46 Disable text drawing
47
48 --help
49 Print usage summary
50
51 --verbose
52 Verbose module output
53
54 --quiet
55 Quiet module output
56
57 --ui
58 Force launching GUI dialog
59
60 Parameters:
61 size=value [required]
62 Size of grid to be drawn (in map units)
63 0 for north-south resolution of the current region. In map units or
64 DDD:MM:SS format. Example: "1000" or "0:10"
65
66 origin=east,north
67 Lines of the grid pass through this coordinate
68 Default: 0,0
69
70 direction=string
71 Draw only east-west lines, north-south lines, or both
72 Options: both, east-west, north-south
73 Default: both
74
75 width=float
76 Grid line width
77
78 color=name
79 Grid color
80 Either a standard color name or R:G:B triplet
81 Default: gray
82
83 border_color=name
84 Border color
85 Either a standard color name or R:G:B triplet
86 Default: black
87
88 text_color=name
89 Text color
90 Either a standard color name or R:G:B triplet
91 Default: gray
92
93 bgcolor=name
94 Background color
95 Either a standard color name, R:G:B triplet, or "none"
96 Default: none
97
98 fontsize=integer
99 Font size for gridline coordinate labels
100 Options: 1-72
101 Default: 9
102
104 d.grid overlays a grid of user-defined size and color in the active
105 display frame on the graphics monitor. The grid can be created as a
106 standard rectangular grid or a geographic grid.
107
108 If the user provides a -g flag a geographic (p