[GRASS-dev] [GRASS GIS] #2332: change r.horizon output names from "angle index" to "angle"

GRASS GIS trac at osgeo.org
Tue Jun 17 21:23:20 PDT 2014


#2332: change r.horizon output names from "angle index" to "angle"
-------------------------+--------------------------------------------------
 Reporter:  zarch        |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:  r.horizon    |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

 Replying to [comment:2 zarch]:
 > Replying to [comment:1 annakrat]:
 > > Could we set the number of digits automatically based
 > > on the number of decimal digits of the step and number
 > > of digits of the maximum angle? For example when
 > > horizon_step is 0.5 and maximum angle is 50, the maps
 > > would be named h_06.5, h_07.0, h_07.5 and so on.

 > > I don't like the dot there, though, since it's not valid for
 > > vector maps and that's a source of confusion then.
 >
 > I don't like either, but I don't see any better solution, do you?

 The only possibility I see is to replace this dot with an underscore, too:
 h_06_5, h_07_0, h_07_5. But the names are not so nice anymore but wouldn't
 use colon for hour neither (h_06:30 vs h_06_30), so maybe the underscore
 is actually quite good.

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



More information about the grass-dev mailing list