|
@@ -19,20 +19,20 @@ Cells containing null data will be marked with an "X".
|
|
|
You can disable drawing of null data and unknown aspect values by
|
|
|
setting its color to "<tt>none</tt>".
|
|
|
|
|
|
-<p>If you specify the <em>magnitude_map</em> option, arrow lengths
|
|
|
-denoting magnitude will be extracted from the cell values of the specified
|
|
|
+<p>If you specify the <em>magnitude_map</em> option, arrow lengths
|
|
|
+denoting magnitude will be extracted from the cell values of the specified
|
|
|
map. In this case the tail of the arrow will be centered on the source cell.
|
|
|
You may adjust the overall scale using the <em>scale</em> option.
|
|
|
<em>d.rast.arrow</em> will ignore NULL and negative magnitudes, and will
|
|
|
warn you if the debug level is set at 5 or higher. Be aware. If your application
|
|
|
uses negative values for magnitude, you can use
|
|
|
<em><a href="r.mapcalc.html">r.mapcalc</a></em> to prepare the magnitude map to
|
|
|
-suit your needs (absolute value, inverted direction and so on).
|
|
|
+suit your needs (absolute value, inverted direction and so on).
|
|
|
|
|
|
<p><h2>NOTES</h2>
|
|
|
-By default, arrows are drawn at the size of a cell and cannot be seen if
|
|
|
-the raster map is relatively close in scale. You can use the <em>skip</em>
|
|
|
-option to draw arrows every n-th cell in both directions if you are working
|
|
|
+By default, arrows are drawn at the size of a cell and cannot be seen if
|
|
|
+the raster map is relatively close in scale. You can use the <em>skip</em>
|
|
|
+option to draw arrows every n-th cell in both directions if you are working
|
|
|
with relatively high resolutions. It may be useful to disable the grid in
|
|
|
this case, which is accomplished by setting its color to "<tt>none</tt>".
|
|
|
<p>For GRASS and Compass type aspect maps, the cell values of the aspect map
|
|
@@ -56,15 +56,15 @@ counterclockwise from east. e.g.:
|
|
|
They can be created from a raster elevation map with
|
|
|
<em><a href="r.slope.aspect.html">r.slope.aspect</a></em>.
|
|
|
<p>Compass type aspect maps are measured in degrees clockwise from north.
|
|
|
-<p>This module uses oceanographic conventions, i.e. arrows point downslope or
|
|
|
+<p>This module uses oceanographic conventions, i.e. arrows point downslope or
|
|
|
direction "to", as opposed to atmospheric conventions (direction "from").
|
|
|
|
|
|
|
|
|
<h2>EXAMPLE</h2>
|
|
|
|
|
|
-Convert U,V velocity component maps into magnitide,direction maps for use
|
|
|
+Convert U,V velocity component maps into magnitide,direction maps for use
|
|
|
with <em>d.rast.arrow</em>:
|
|
|
-
|
|
|
+
|
|
|
<div class="code"><pre>
|
|
|
r.mapcalc "magnitude = sqrt(U_map^2 + V_map^2)"
|
|
|
r.mapcalc "direction = atan(U_map, V_map)"
|
|
@@ -90,7 +90,7 @@ Chris Rewerts<br>
|
|
|
Purdue University</em><br><br>
|
|
|
<u>Magnitude and 360 arrow code</u><br>
|
|
|
Hamish Bowman<br>
|
|
|
-<em>Department of Marine Science, <br>
|
|
|
+<em>Department of Marine Science,<br>
|
|
|
University of Otago, New Zealand</em><br><br>
|
|
|
<u>Align grids with raster cells and Drainage aspect type</u><br>
|
|
|
Huidae Cho<br>
|