[GRASS-dev] [GRASS GIS] #2136: Create standard options for map or file base name (prefix)

GRASS GIS trac at osgeo.org
Tue Nov 26 01:59:34 PST 2013


#2136: Create standard options for map or file base name (prefix)
-----------------------------------------+----------------------------------
 Reporter:  wenzeslaus                   |       Owner:  grass-dev@…              
     Type:  defect                       |      Status:  new                      
 Priority:  normal                       |   Milestone:  7.0.0                    
Component:  Parser                       |     Version:  svn-releasebranch64      
 Keywords:  base name, prefix, basename  |    Platform:  All                      
      Cpu:  All                          |  
-----------------------------------------+----------------------------------

Comment(by mmetz):

 Replying to [ticket:2136 wenzeslaus]:
 > A lot of modules creates several map while the input is only one name
 and the actual map names are combined from the name provided by user,
 separator and some additional information.

 [...]

 > We need to create standard options for this and use it in the modules.
 It will improve standardization in module interfaces, enable parser in
 adding overwrite flag and it will provide a general way to GUI to generate
 the form correctly.

 It seems that this is already implemented, see r.mapcalc [0] for an
 example.

 [0]
 https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.mapcalc/main.c#L114

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



More information about the grass-dev mailing list