[GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

GRASS GIS trac at osgeo.org
Thu Oct 9 03:19:50 PDT 2014


#2437: order parameters in g.remove window
-------------------------+--------------------------------------------------
 Reporter:  pvanbosgeo   |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:  g.remove     |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hcho):

 Replying to [comment:9 annakrat]:
 > Replying to [comment:8 annakrat]:
 > > Replying to [comment:7 annakrat]:
 > > > Replying to [comment:6 hcho]:
 > > > > I just noticed two issues with the new g.list/remove GUI map
 selectors. They should not append @ mapset name and should support
 multiple selection.
 > > >
 > > > I fixed appending the mapset in r62220.
 > >
 > > Hm, it started to output warnings about illegal character *. Not sure
 what to do about that...
 > >
 >
 > I will probably have to revert this and do test for this specific case
 in the gui which I wanted to avoid. However, the problem with multiple
 selection is not just problem of the gui, but also pygrass can't currently
 handle it simply because g.list interface breaks rules.

 Hmm... One way would be to change the type of pattern=/exclude= to
 multiple and use their {{{answer}}} variable, not {{{answers}}}. The help
 message would be {{{pattern=string[,string,...]}}}, which can be
 misleading because it doesn't take multiple pattern strings, but it only
 takes multiple map names and a single pattern string. But, it works both
 in GUI and command line.

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



More information about the grass-dev mailing list