r.plane.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <h2>DESCRIPTION</h2>
  2. <em>r.plane</em> creates a tilted plane raster map given user-specified
  3. parameters for inclination, azimuth, and the geographic location of a
  4. point on the plane.<br>
  5. The angle orientations of the <em>azimuth</em> parameter increase counter-clockwise,
  6. i.e., 0 degree = N, 45 degree = NW, 90 degree = W etc.
  7. <p>
  8. Increasing values of the <em>dip</em> parameter progressively lower (or dip) the northern
  9. half of the plane, and incline the southern half, assuming the <em>azimuth</em> parameter
  10. is held constant at 0 degrees.
  11. <h2>NOTES</h2>
  12. <tt>g.region -c</tt> provides the easting and northing coordinates for
  13. the center of the current region.
  14. <p>
  15. <em>CELL</em> (integer) maps take less disk space than <em>FCELL</em>s (floating point),
  16. which in turn take up less space than <em>DCELL</em>s (double precision floating point).
  17. <!-- is that true because of grass's compression? otherwise both int and float are both 4 bytes per cell -->
  18. <h2>EXAMPLE</h2>
  19. A tilted plane in the North Carolina sample dataset region:
  20. <div class="code"><pre>
  21. # set computational region
  22. g.region raster=elev_lid792_1m -p
  23. # get center coordinates as an example
  24. g.region -c
  25. # get terrain height at point
  26. r.what map=elev_lid792_1m coordinates=638650.0,220375.0
  27. # shows elevation: 116.7734
  28. # generate tilted plane
  29. r.plane myplane30 dip=30 az=75 east=638650.0 north=220375.0 \
  30. elev=116.7734 type=FCELL
  31. </pre></div>
  32. <div align="center" style="margin: 10px">
  33. <a href="r_plane_3d.png">
  34. <img src="r_plane_3d.png" width="600" height="360" alt="r.plane example" border="0">
  35. </a><br>
  36. <i>Figure: Tilted plane shown in NVIZ along with elevation map</i>
  37. </div>
  38. <h2>AUTHOR</h2>
  39. Stefan J&auml;ger (1994), University of Heidelberg during a stay at USGS<br>
  40. Updated to GRASS 5.7 by Michael Barton, Arizona State University<br>
  41. Full rewrite for GRASS 7 by Glynn Clements
  42. <!--
  43. <p>
  44. <i>Last changed: $Date$</i>
  45. -->