m.measure.html 1.6 KB

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