[GRASS-dev] [GRASS GIS] #1057: r.slope.aspect: add -c option

GRASS GIS trac at osgeo.org
Wed May 5 12:58:03 EDT 2010


#1057: r.slope.aspect: add -c option
-------------------------+--------------------------------------------------
 Reporter:  paoloC       |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Is it possible to add a '-c' option to r.slope.aspect in order to get an
 aspect raster map with compass notation (North=360,  East=90, South=180,
 West=270) ?

 e.g.:

 {{{
 r.mapcalc "aspect_compass=if(isnull(aspect_from_east),null(), \
         if((aspect_from_east<90), 90-aspect_from_east, 360+90-
 aspect_from_east))"
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1057>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list