d.geodesic(1)
π« d.geodesic(1) β GRASS GIS User's Manual π«
okay bestie, welcome to d.geodesic, a lil display module from the GRASS GIS fam that draws the actual shortest path between two points on a globe. like, the real shortest path, along a great circle. it's giving geography nerd main character energy and we're obsessed π
β¨ NAME β¨
d.geodesic β draws a geodesic line, tracing the shortest distance between two geographic points along a great circle, inside a longitude/latitude data set. periodt, that's the whole job π
π KEYWORDS π
display, distance, great circle, shortest path
π¦ SYNOPSIS π¦
d.geodesic
d.geodesic --help
d.geodesic coordinates=lon1,lat1,lon2,lat2 [line_color=name]
[text_color=name] [units=string] [--help] [--verbose] [--quiet]
[--ui]
π© Flags π©
--helpβ prints the usage summary, so you get the whole vibe explained back at you--verboseβ verbose module output, it will literally narrate everything--quietβ quiet module output, no yapping allowed--uiβ forces the GUI dialog to launch, for the girlies who like buttons
π― Parameters π―
coordinates=lon1,lat1,lon2,lat2β required, no skipping this one. the starting and ending coordinates, that's the whole point bestieline_color=nameβ the line color. either a standard color name or anR:G:Btriplet. default:blacktext_color=nameβ the text color. either a standard color name or anR:G:Btriplet (yes it's a whole vibe, no default listed here π )units=stringβ Units. (yes, the original says "Units" twice, iconic.) Options:meters,kilometers,feet,miles. Default:meters
πΈ DESCRIPTION πΈ
d.geodesic displays a geodesic line in the active frame on the user's graphics monitor. that's also known as the great circle line, and it traces the shortest distance between two user-specified points on the curved surface of a longitude/latitude data set. so like, not a straight line on a flat map β a real curve on a real sphere, slay π
the two coordinate locations you name must fall within the boundaries of your current geographic region. if they don't, that's a you problem, bestie π«Ά
π OPTIONS π
by default, black line color and red text color will be used. cute, classic, no notes β¨
by indicating the starting and ending coordinates of the geodesic, the line and its length (by default in meters) are displayed to the graphical output. so you get the pretty line and the receipts π₯
if the text color is set to none, the great circle distance is not displayed. so like, if you want the line but not the number, that's your move. no cap.
β EXAMPLE β
a geodesic line is 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
# show additionally a 20 degree grid
d.grid 20
d.geodesic coordinates=55:58W,33:18S,26:43E,60:37N \
line_color=yellow text_color=red units=kilometers
Geodesic line (great circle line)
π§ NOTES π§
this program works only with longitude/latitude coordinate system. like, only. don't try it elsewhere, it's not built different π
π SEE ALSO π
d.rhumbline, d.grid, m.measure
π AUTHOR π
Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
π SOURCE CODE π
Available at: d.geodesic source code (history)
Accessed: Saturday Jan 17 05:40:34 2026
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie!! π this was GRASS GIS 8.4.2, page d.geodesic(1), accessed on that Saturday Jan 17 05:40:34 2026 moment, Β© 2003-2025 GRASS Development Team, straight out of the GRASS GIS 8.4.2 Reference Manual. go draw some great circles, you ate π
β¨π¦
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms