## NAME

d.rast.arrow - Draws arrows representing cell aspect direction for a raster map containing aspect data.

## SYNOPSIS

d.rast.arrow
d.rast.arrow help
d.rast.arrow [map=string] [type=string] [arrow_color=string] [grid_color=string] [x_color=string] [unknown_color=string]

### Parameters:

map=string
  Name of raster aspect map to be displayed
type=string
  Type of existing raster map to be displayed
  Options: grass,agnps,answers
  Default: grass
arrow_color=string
  Color for drawing arrows
  Options: red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey
  Default: green
grid_color=string
  Color for outlining grids
  Options: red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey
  Default: gray
x_color=string
  Color for drawing x's (Null values)
  Options: red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey
  Default: black
unknown_color=string
  Color for showing unknown information
  Options: red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey
  Default: red

## DESCRIPTION

d.rast.arrow is designed to help users better visualize surface water flow direction, as indicated in an aspect raster map layer. There are two ways to specify the aspect layer the program is to use. The first is to display the aspect map layer on the graphics monitor before running d.rast.arrow. The second method involves setting the map parameter to the name of the desired aspect map. This allows the arrows to be drawn over any other maps already displayed on the graphics monitor.

d.rast.arrow will draw an arrow over each displayed cell to indicate in which direction the cell slopes. An arrow can point in one of eight directions. If the aspect layer has a category value denoting locations of "unknown" aspect, d.rast.arrow draws a question mark over the displayed cells of that category. Cells of containing null data will be marked with an "X".

## NOTES

Arrows are drawn at the size of a cell and cannot be seen if the raster map is relatively close in scale. From a command line mode, the user cannot run d.rast.arrow and then run d.zoom and still see the arrows. The zooming action erases the arrows and the user must run d.rast.arrow again.

GRASS aspect maps are measured in degrees counterclockwise from east. i.e.:

    90  North
    180 West
    270 South
    360 East

They can be created from a raster elevation map with r.slope.aspect.

## SEE ALSO

d.frame
d.rast
d.rast.edit
d.rast.num
d.zoom
g.region
r.mask
r.slope.aspect
parser

## AUTHOR

Chris Rewerts, Agricultural Engineering, Purdue University

Last changed: $Date: 2004/08/25 09:12:23 $

Help Index