Преглед изворни кода

example + screenshot (grid missing) added

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48143 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler пре 13 година
родитељ
комит
30dfde250d

+ 15 - 0
display/d.geodesic/d.geodesic.html

@@ -26,6 +26,21 @@ of the geodesic, the line and its length (in miles) are displayed to
 the user's graphics monitor. If the text color is set to <em>none</em>,
 the great circle distance is not displayed.
 
+<h2>EXAMPLE</h2>
+
+<div class="code"><pre>
+g.region vect=world_political -p
+d.mon wx0
+d.vect world_political type=area
+d.geodesic coor=55:58W,33:18S,26:43E,60:37N lcolor=yellow tcolor=red
+</pre></div>
+
+<p>
+<center>
+<img src="d_geodesic.png" border=1><BR>
+<i>Geodesic line (great circle line)</i>
+</center>
+
 <H2>NOTES</H2>
 
 This program works only with GRASS locations using a longitude/latitude 

BIN
display/d.geodesic/d_geodesic.png


+ 18 - 17
display/d.rhumbline/d.rhumbline.html

@@ -12,28 +12,29 @@ active frame on the user's graphics monitor.  The named
 coordinate locations must fall within the boundaries of the
 user's current geographic region.
 
-<P>
-
-The user can run this program either interactively or
-non-interactively.  If the user simply types
-<B>d.rhumbline</B> on the command line and runs it without specifying
-parameter values, the mouse will be activated and the user
-will be asked to use the mouse to indicate the two
-endpoints of the rhumbline.  The rhumbline is then drawn in
-the default color (black). <!-- The program also outputs the
-coordinate locations of the two endpoints on the user's
-terminal and the number associated with the mouse button
-depressed by the user in a format useful for input to other
-programs. -->
-
-<P>
-
-Alternately, the user can specify the starting and ending
+<p>
+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.
 
+<h2>EXAMPLE</h2>
+
+<div class="code"><pre>
+g.region vect=world_political -p
+d.mon wx0
+d.vect world_political type=area
+d.rhumbline coor=55:58W,33:18S,26:43E,60:37N lcolor=yellow tcolor=red
+</pre></div>
+
+<p>
+<center>
+<img src="d_rhumbline.png" border=1><BR>
+<i>Rhumbline (loxodrome)</i>
+</center>
+
+
 <H2>NOTES</H2>
 
 This program works only with longitude-latitude locations. 

BIN
display/d.rhumbline/d_rhumbline.png