~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to display/d.geodesic/d.geodesic.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
3
<em>d.geodesic</em> displays a geodesic line in the active frame on the user's 
 
4
graphics monitor. This is also known as the great circle line and traces the 
 
5
shortest distance between two user-specified points on the curved surface of 
 
6
a longitude/latitude data set. The two coordinate locations named must fall 
 
7
within the boundaries of the user's current geographic region. 
 
8
 
 
9
<h2>OPTIONS</h2>
 
10
 
 
11
By default black line color and red text color will be used. 
 
12
 
 
13
<p>
 
14
By indicating the starting and ending coordinates 
 
15
of the geodesic, the line and its length (by default in meters) are displayed to 
 
16
the graphical output. If the text color is set to <em>none</em>,
 
17
the great circle distance is not displayed.
 
18
 
 
19
<h2>EXAMPLE</h2>
 
20
 
 
21
A geodesic line if shown over the political map of the world
 
22
(demolocation dataset):
 
23
 
 
24
<div class="code"><pre>
 
25
g.region vector=country_boundaries -p
 
26
d.mon wx0
 
27
d.vect country_boundaries type=area
 
28
# show additionally a 20 degree grid
 
29
d.grid 20
 
30
 
 
31
d.geodesic coordinates=55:58W,33:18S,26:43E,60:37N \
 
32
  line_color=yellow text_color=red units=kilometers
 
33
</pre></div>
 
34
 
 
35
<p><center>
 
36
<img src="d_geodesic.png" border=1><br>
 
37
<i>Geodesic line (great circle line)</i>
 
38
</center>
 
39
 
 
40
<h2>NOTES</h2>
 
41
 
 
42
This program works only in GRASS locations with longitude/latitude 
 
43
coordinate system. 
 
44
 
 
45
<h2>SEE ALSO</h2>
 
46
 
 
47
<em>
 
48
<a href="d.rhumbline.html">d.rhumbline</a>,
 
49
<a href="d.grid.html">d.grid</a>
 
50
</em>
 
51
 
 
52
<h2>AUTHOR</h2>
 
53
 
 
54
Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
 
55
 
 
56
<p><i>Last changed: $Date: 2014-12-28 14:30:25 +0100 (Sun, 28 Dec 2014) $</i>