d.rhumbline.1grass - Man Page

Displays the rhumbline joining two longitude/latitude coordinates.


display, distance, rhumbline


d.rhumbline --help
d.rhumbline coordinates=lon1,lat1,lon2,lat2  [line_color=name]   [--help]  [--verbose]  [--quiet]  [--ui]



Print usage summary


Verbose module output


Quiet module output


Force launching GUI dialog


coordinates=lon1,lat1,lon2,lat2 [required]

Starting and ending coordinates


Line color
Either a standard color name or R:G:B triplet
Default: black


A rhumbline (loxodrome) is a line following a constant angle of the compass (i.e., a line of constant direction). It crosses all meridians at the same angle, i.e. a path of constant bearing. d.rhumbline displays the rhumbline joining any two user-specified points in the active frame on the user’s graphics monitor.  The named coordinate locations must fall within the boundaries of the user’s current geographic region.

The user has to specify the starting and ending longitude/latitude coordinates of the rhumbline and (optionally) the color in which the rhumbline will be displayed; in this case, the program will run non-interactively.


A geodesic line if shown over the political map of the world (demolocation dataset):

g.region vector=country_boundaries -p
d.mon wx0
d.vect country_boundaries type=area
d.rhumbline coordinates=55:58W,33:18S,26:43E,60:37N \
# show additionally 10 degree grid
d.grid 10

Rhumbline (loxodrome)


This program works only in GRASS locations with longitude/latitude coordinate system.

See Also

d.geodesic, d.grid, m.measure


Michael Shapiro, U.S. Army Construction Engineering Research Laboratory

Source Code

Available at: d.rhumbline source code (history)

Accessed: Tuesday Mar 19 11:01:49 2024

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.2 Reference Manual


GRASS 8.3.2 GRASS GIS User's Manual