[GRASS-dev] [GRASS GIS] #2338: r.horizon rename parameters

GRASS GIS trac at osgeo.org
Tue Jun 17 00:20:07 PDT 2014


#2338: r.horizon rename parameters
-------------------------+--------------------------------------------------
 Reporter:  zarch        |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  critical     |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  svn-trunk                
 Keywords:  r.horizon    |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------

Comment(by zarch):

 Replying to [comment:5 wenzeslaus]:
 > Please read #2136 and look how many modules are using particular names.

 So I change: horizon => basename, ok?

 I wrote two functions, one that return the number of decimals in a string,
 and another one that return a format string given the basename, the number
 of digits and decimals that we want to use.

 I attached the code with two functions plus some tests in main() [0].

 Considering that these functionalities are shared between modules I think
 we should put them somewhere in the GARSS C API...

 Where should we put them? Any ideas?

 Pietro

 [0] http://trac.osgeo.org/grass/attachment/ticket/2338/main.c

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



More information about the grass-dev mailing list