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

GRASS GIS trac at osgeo.org
Fri Mar 27 10:18:11 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 cmbarton):

 Thanks for the simple mapcalc approach. I think, however, the point is not
 that this cannot be calculated in mapcalc. It is that it would be
 convenient to have the primary aspect module for GRASS have an option to
 calculate aspect in cardinal degrees from north, what most users would
 expect from an aspect calculation in a GIS. The counter clockwise from E.
 is a path dependent legacy from the early days of GIS when rasters were
 treated like a 2D graph. Other modules have come to expect that, which is
 OK. Perhaps it even makes some math easier in some uses. But we no longer
 calculate raster cell position from the lower left. So it is odd that
 r.slope.aspect does not at least have an option to treat aspect like a
 geographic value instead of only like a vector angle on a graph.

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



More information about the grass-dev mailing list