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

GRASS GIS trac at osgeo.org
Mon Jan 29 01:54:42 PST 2018


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

Comment (by hellik):

 Replying to [comment:24 hellik]:
 > Replying to [comment:22 mmetz]:
 > >Therefore I suggest to produce zero aspect for zero slope or if slope
 is < min_slope. NULL is then reserved for those cells where slope and
 aspect can not be computed. This also means that when converting CCW from
 East to CW from North, North must be encoded as 360 degrees, not 0
 degrees.
 >
 > what about to assign -1 for cells with zero slope or slope is <
 min_slope?

 then North can start with 0 degrees; which is the most common use case.

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



More information about the grass-dev mailing list