[GRASS-dev] Re: [GRASS GIS] #234: v.type, v.type.sh, GUI and WinGRASS

GRASS GIS trac at osgeo.org
Fri Jul 25 15:22:52 EDT 2008


#234: v.type, v.type.sh, GUI and WinGRASS
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  major     |   Milestone:  6.4.0                    
 Component:  wxGUI     |     Version:  svn-develbranch6         
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by glynn):

 Replying to [ticket:234 msieczka]:
 > Autogenerated v.type wxGUI still suffers from an old bug described on
 [1]. The v.type.sh workaround will not work on Windows without msys. Would
 a Python replacement do?

 Yes (assuming that you have python).

 Alternatively, we could hack v.type to omit the various ->options fields
 if argv[1] is --ui, --tcltk or --interface-description.

 > Or is it possible to fix the problem instead of a workaround?

 Modifying the way that the GUI handles the case where opt->multiple is
 true and opt->options is set is possible, but it would be inconvenient for
 the other modules which don't care about order (i.e. where the value is a
 set instead of a list).

 To support both sets and lists, we would need to extend the semantics of
 the Option structure, extend the parser, and extend both GUIs.

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


More information about the grass-dev mailing list