[GRASS-dev] [GRASS GIS] #2637: Get direction raster in clockwise degrees starting from the North

GRASS GIS trac at osgeo.org
Wed Mar 25 17:24:37 PDT 2015


#2637: Get direction raster in clockwise degrees starting from the North
-------------------------+--------------------------------------------------
 Reporter:  cgravelm     |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.1                    
Component:  Raster       |     Version:  7.0.0                    
 Keywords:               |    Platform:  MacOSX                   
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by annakrat):

 You can just use r.mapcalc "angle_cw = -angle_ccw + 450", this will give
 you what you need. It outputs angles from 90 to 450, but that's typically
 not a problem.

 I guess it could be implemented in r.slope.aspect.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2637#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list