| 1 |
<h2>DESCRIPTION</h2> |
| 2 |
|
| 3 |
<em>m.measure</em> provides the user with a way to measure the lengths |
| 4 |
and areas of lines and polygons. Areas can be stated in acres, |
| 5 |
hectares, square miles, square feet, square meters and square kilometers. |
| 6 |
|
| 7 |
<h2>EXAMPLES</h2> |
| 8 |
|
| 9 |
Distance example in a latitude-longitude coordinate reference system |
| 10 |
(on great circle, i.e. an orthodrome): |
| 11 |
|
| 12 |
<div class="code"><pre> |
| 13 |
Bonn_DE="7.09549,50.73438" |
| 14 |
Philadelphia_US="-75.16379,39.95233" |
| 15 |
|
| 16 |
m.measure coordinates="$Bonn_DE,$Philadelphia_US" units=kilometers |
| 17 |
Length: 6217.916452 kilometers |
| 18 |
</pre></div> |
| 19 |
|
| 20 |
<div align="center" style="margin: 10px"> |
| 21 |
<a href="m_measure_distance.png"> |
| 22 |
<img src="m_measure_distance.png" width="600" height="290" alt="Visualization (with d.geodesic) of m.measure distance example" border="0"><br> |
| 23 |
</a> |
| 24 |
<i>Visualization (with d.geodesic) of m.measure distance example</i> |
| 25 |
</div> |
| 26 |
|
| 27 |
<p> |
| 28 |
As an example for the North Carolina sample dataset, here four points |
| 29 |
describing a square of 1000m side length: |
| 30 |
|
| 31 |
<div class="code"><pre> |
| 32 |
m.measure units=meters \ |
| 33 |
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000 |
| 34 |
Length: 3000.000000 meters |
| 35 |
Area: 1000000.000000 square meters |
| 36 |
|
| 37 |
# script style output: |
| 38 |
m.measure -g units=hectares \ |
| 39 |
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000 |
| 40 |
units=meters,square meters |
| 41 |
length=3000.000000 |
| 42 |
area=1000000.000000 |
| 43 |
</pre></div> |
| 44 |
|
| 45 |
<h2>SEE ALSO</h2> |
| 46 |
|
| 47 |
<em> |
| 48 |
<a href="d.geodesic.html">d.geodesic</a> |
| 49 |
</em> |
| 50 |
|
| 51 |
<h2>AUTHORS</h2> |
| 52 |
|
| 53 |
Glynn Clements |
| 54 |
<br> |
| 55 |
Some updates by Martin Landa, CTU in Prague, Czech Republic |
| 56 |
<br><br> |
| 57 |
Derived from d.measure by James Westervelt, Michael Shapiro, U.S. Army |
| 58 |
Construction Engineering Research Laboratory |