[GRASS-SVN] r70083 - in grass/trunk: display/d.geodesic display/d.rhumbline misc/m.measure

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 17 04:21:05 PST 2016


Author: neteler
Date: 2016-12-17 04:21:05 -0800 (Sat, 17 Dec 2016)
New Revision: 70083

Added:
   grass/trunk/misc/m.measure/m_measure_distance.png
Modified:
   grass/trunk/display/d.geodesic/d.geodesic.html
   grass/trunk/display/d.rhumbline/d.rhumbline.html
   grass/trunk/misc/m.measure/m.measure.html
Log:
m.measure manual: examples with screenshot added; crossrefs added

Modified: grass/trunk/display/d.geodesic/d.geodesic.html
===================================================================
--- grass/trunk/display/d.geodesic/d.geodesic.html	2016-12-17 11:11:35 UTC (rev 70082)
+++ grass/trunk/display/d.geodesic/d.geodesic.html	2016-12-17 12:21:05 UTC (rev 70083)
@@ -46,7 +46,8 @@
 
 <em>
 <a href="d.rhumbline.html">d.rhumbline</a>,
-<a href="d.grid.html">d.grid</a>
+<a href="d.grid.html">d.grid</a>,
+<a href="m.measure.html">m.measure</a>
 </em>
 
 <h2>AUTHOR</h2>

Modified: grass/trunk/display/d.rhumbline/d.rhumbline.html
===================================================================
--- grass/trunk/display/d.rhumbline/d.rhumbline.html	2016-12-17 11:11:35 UTC (rev 70082)
+++ grass/trunk/display/d.rhumbline/d.rhumbline.html	2016-12-17 12:21:05 UTC (rev 70083)
@@ -47,7 +47,8 @@
 
 <em>
 <a href="d.geodesic.html">d.geodesic</a>,
-<a href="d.grid.html">d.grid</a>
+<a href="d.grid.html">d.grid</a>,
+<a href="m.measure.html">m.measure</a>
 </em>
 
 <h2>AUTHOR</h2>

Modified: grass/trunk/misc/m.measure/m.measure.html
===================================================================
--- grass/trunk/misc/m.measure/m.measure.html	2016-12-17 11:11:35 UTC (rev 70082)
+++ grass/trunk/misc/m.measure/m.measure.html	2016-12-17 12:21:05 UTC (rev 70083)
@@ -4,6 +4,49 @@
 and areas of lines and polygons. Areas can be stated in acres,
 hectares, square miles, square meters and square kilometers.
 
+<h2>EXAMPLES</h2>
+
+Distance example in a latitude-longitude location (on great circle, i.e. an orthodrome):
+
+<div class="code"><pre>
+Bonn_DE="7.09549,50.73438"
+Philadelphia_US="-75.16379,39.95233"
+
+m.measure coordinates="$Bonn_DE,$Philadelphia_US" units=kilometers 
+Length:  6217.916452 kilometers
+</pre></div>
+
+<div align="center" style="margin: 10px">
+<a href="m_measure_distance.png">
+<img src="m_measure_distance.png" width="600" alt="Visualization (with d.geodesic) of m.measure distance example" border=0><br>
+</a>
+<i>Visualization (with d.geodesic) of m.measure distance example</i>
+</div>
+
+<p>
+As an example for the North Carolina sample dataset, here four points
+describing a square of 1000m side length:
+
+<div class="code"><pre>
+m.measure units=meters \
+  coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
+Length:  3000.000000 meters
+Area:    1000000.000000 square meters
+
+# script style output:
+m.measure -g units=hectares \
+  coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
+units=meters,square meters
+length=3000.000000
+area=1000000.000000
+</pre></div>
+
+<h2>SEE ALSO</h2>
+
+<em>
+<a href="d.geodesic.html">d.geodesic</a>
+</em>
+
 <h2>AUTHORS</h2>
 
 Glynn Clements

Added: grass/trunk/misc/m.measure/m_measure_distance.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/misc/m.measure/m_measure_distance.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list