d.northarrow1grass
Displays a north arrow on the graphics monitor.
Usage
d.northarrow
d.northarrow --help
d.northarrow [-twr]
[style=string]
[at=x,y]
[rotation=float]
[label=string]
[color=name]
[fill_color=name]
[text_color=name]
[width=float]
[font=string]
[fontsize=float]
[path=name]
[charset=string]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
display, cartography, map annotations, arrow
Overview
d.northarrow displays a north arrow symbol at the given screen coordinates. If no coordinates are given it will draw the north arrow in the bottom right of the display. It can draw the north arrow in a number of styles (see the wiki page for details). With certain styles of north arrow label ’N’ is displayed by default, and can be changed with option label, for example for different languages. The label can be hidden with -t flag.
North arrow can be rotated, for example to align with true north, not grid north. The angle in degrees counter-clockwise (or radians with -r flag) can be specified with option rotation. Label is rotated together with the arrow, unless flag -w is specified.
Examples
Display a north arrow symbol as a basic compas with label NORTH, rotated by 8 degrees with label, with black line and gray fill:
d.mon wx0d.northarrow style=basic_compas rotation=8 label=NORTH -w color=black fill_color=grayd.mon -r
Source code
Available at: d.northarrow source code (history)
Accessed: Monday Feb 24 17:50:25 2025
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.