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

GRASS GIS trac at osgeo.org
Thu May 6 05:08:41 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:  svn-trunk                
Resolution:               |    Keywords:  r.slope.aspect           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by hamish):

 it's pretty easy to do this by hand:
 {{{
 r.mapcalc "compass_aspect = 90 - theta_aspect"
 }}}

 and maybe a `if(aspect < 0) {aspect = aspect + 360 }` step after.


 Hamish

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


More information about the grass-dev mailing list