Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Aside from using r.fill.dir in GRASS, is this the script to produce the Flow or directional raster map? Is the output for the script the following graphic?

share|improve this question
up vote 4 down vote accepted

first create the aspect raster with r.slope.aspect then display the arrows with d.rast.arrow.

share|improve this answer
I used r.slope.aspect elevation=rastermap. It produced the error: ERROR: You must specify at least one of the parameters: <slope>, <aspect>, <pcurv>, <tcurv>, <dx>, <dy>, <dxx>, <dyy> or <dxy>. Which parameter to use for the r.slope.aspect is best to use in order to obtain a Flow or directional raster map ? – teamAngat Feb 1 '11 at 17:49
Use r.slope.aspect elevation=inmap aspect=outmap min_slp_allowed=0.04 and adjust min_slp_allowed and the region resolution to get good results. – Pablo Feb 1 '11 at 18:23
I used: r.slope.aspect elevation=bul2 aspect=outmap1 min_slp_allowed=0.04. It produced a gray map with slope-like structures. and I used: d.rast.arrow map=outmap1. It produced a raster map with a solid color. It did not contain arrows. I think the problem with the map is that its resolution is high that is why it did not produce arrows. How do I resolve it? Are my scripts correct? I need the arrows in order to know the direction of the elevation areas for a flood modelling algorithm that I will use. Thanks! – teamAngat Feb 2 '11 at 14:23
I've just tried it here, strange results, very small arrows. – Pablo Feb 2 '11 at 17:43
The Z value of the ASPECT map is the flow heading. You can try something with that. – Pablo Feb 3 '11 at 16:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.