1d.northarrow(1)             GRASS GIS User's Manual            d.northarrow(1)
2
3
4

NAME

6       d.northarrow  - Displays a north arrow on the graphics monitor.
7

KEYWORDS

9       display, cartography, map annotations, arrow
10

SYNOPSIS

12       d.northarrow
13       d.northarrow --help
14       d.northarrow   [-twr]    [style=string]    [at=x,y]    [rotation=float]
15       [label=string]   [color=name]    [fill_color=name]    [text_color=name]
16       [width=float]      [font=string]      [fontsize=float]      [path=name]
17       [charset=string]   [--help]  [--verbose]  [--quiet]  [--ui]
18
19   Flags:
20       -t
21           Draw the symbol without text
22
23       -w
24           Do not rotate text with symbol
25
26       -r
27           Use radians instead of degrees for rotation
28
29       --help
30           Print usage summary
31
32       --verbose
33           Verbose module output
34
35       --quiet
36           Quiet module output
37
38       --ui
39           Force launching GUI dialog
40
41   Parameters:
42       style=string
43           North arrow style
44           Options: 1a, 1b, 2, 3, 4, 5, 6, 7a, 7b, 8a, 8b,  9,  fancy_compass,
45           basic_compass, arrow1, arrow2, arrow3, star
46           Default: 1a
47            1a: Two color arrowhead
48            1b: Two color arrowhead with circle
49            2: Narrow with blending N
50            3: Long with small arrowhead
51            4: Inverted narrow inside a circle
52            5: Triangle and N inside a circle
53            6: Arrowhead and N inside a circle
54            7a: Tall half convex arrowhead
55            7b: Tall half concave arrowhead
56            8a: Thin arrow in a circle
57            8b: Fat arrow in a circle
58            9: One color arrowhead
59            fancy_compass: Fancy compass
60            basic_compass: Basic compass
61            arrow1: Simple arrow
62            arrow2: Thin arrow
63            arrow3: Fat arrow
64            star: 4-point star
65
66       at=x,y
67           Screen coordinates of the rectangle’s top-left corner
68           (0,0) is lower-left of the display frame
69           Options: 0-100
70           Default: 85.0,15.0
71
72       rotation=float
73           Rotation angle in degrees (counter-clockwise)
74           Default: 0
75
76       label=string
77           Displayed letter on the top of arrow
78           Default: N
79
80       color=name
81           Line color
82           Either a standard color name, R:G:B triplet, or "none"
83           Default: black
84
85       fill_color=name
86           Fill color
87           Either a standard color name, R:G:B triplet, or "none"
88           Default: black
89
90       text_color=name
91           Text color
92           Either a standard color name or R:G:B triplet
93
94       width=float
95           Line width
96           Default: 0
97
98       font=string
99           Font name
100
101       fontsize=float
102           Font size
103           Options: 1-360
104           Default: 14
105
106       path=name
107           Path to font file
108
109       charset=string
110           Text encoding (only applicable to TrueType fonts)
111

DESCRIPTION

113       d.northarrow  displays a north arrow symbol at the given screen coordi‐
114       nates. If no coordinates are given it will draw the north arrow in  the
115       bottom right of the display. It can draw the north arrow in a number of
116       styles (see the wiki page for details).  With certain styles  of  north
117       arrow label ’N’ is displayed by default, and can be changed with option
118       label, for example for different languages.  The label  can  be  hidden
119       with -t flag.
120
121       North  arrow  can be rotated, for example to align with true north, not
122       grid north.  The angle in degrees counter-clockwise (or radians with -r
123       flag)  can be specified with option rotation. Label is rotated together
124       with the arrow, unless flag -w is specified.
125

EXAMPLES

127       Display a north arrow symbol  as  a  basic  compas  with  label  NORTH,
128       rotated by 8 degrees with label, with black line and gray fill:
129       d.mon wx0
130       d.northarrow style=basic_compas rotation=8 label=NORTH -w color=black fill_color=gray
131       d.mon -r
132

SEE ALSO

134        d.barscale, d.graph, d.grid, d.legend
135

AUTHOR

137       Hamish Bowman, Department of Geology, University of Otago, New Zealand
138       Improvements as part of GSoC 2016 by Adam Laza, CTU in Prague
139

SOURCE CODE

141       Available at: d.northarrow source code (history)
142
143       Main  index | Display index | Topics index | Keywords index | Graphical
144       index | Full index
145
146       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
147
148
149
150GRASS 7.8.5                                                    d.northarrow(1)
Impressum