Browse Source

r.slope.aspect manual: cosmetics for hint on transformation of ccw aspect to azimuth (https://trac.osgeo.org/grass/changeset/65553 + https://trac.osgeo.org/grass/changeset/65573)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65574 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 năm trước cách đây
mục cha
commit
fe910cd62e
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      raster/r.slope.aspect/r.slope.aspect.html

+ 8 - 1
raster/r.slope.aspect/r.slope.aspect.html

@@ -22,7 +22,14 @@ The <b>aspect</b> output raster map indicates the direction that slopes are
 facing. The aspect categories represent the number degrees of east. Category
 and color table files are also generated for the aspect raster map. The aspect
 categories represent the number degrees of east and they increase
-counterclockwise: 90 degrees is North, 180 is West, 270 is South 360 is East.
+counterclockwise: 90 degrees is North, 180 is West, 270 is South 360 is East.<br>
+Note: These values can be transformed to azimuth (0 is North, 90 is East, etc)
+values using <a href="r.mapcalc.html">r.mapcalc</a>:
+
+<div class="code"><pre>
+# convert angles from CCW to north up
+r.mapcalc "azimuth_aspect = (450 - ccw_aspect) % 360"
+</pre></div>
 
 <p>
 The aspect is not defined for slope equal to zero.