[GRASS-dev] [GRASS GIS] #1719: GRASS 7 Monitor command line support

GRASS GIS trac at osgeo.org
Thu Mar 27 21:23:15 PDT 2014


#1719: GRASS 7 Monitor command line support
--------------------------+-------------------------------------------------
  Reporter:  annalisapg   |       Owner:  grass-dev@…                            
      Type:  enhancement  |      Status:  reopened                               
  Priority:  normal       |   Milestone:  7.0.0                                  
 Component:  wxGUI        |     Version:  svn-trunk                              
Resolution:               |    Keywords:  d.mon, display, d.* commands, rendering
  Platform:  Unspecified  |         Cpu:  Unspecified                            
--------------------------+-------------------------------------------------

Comment(by wenzeslaus):

 Replying to [comment:27 hamish]:
 > Reopening, because it is an interesting unresolved discussion and should
 not be forgotten/flushed. see also comment:22.
 >
 Please, create a new tickets with specification what you want and
 comparison with what we have. I'm not so experienced in `d.*` commands and
 older X monitors to know what exactly does comments here mean. Moreover,
 if we want some other people get involved, we should make tickets clear
 and doable (speaking for example about recent
 [http://lists.osgeo.org/pipermail/grass-dev/2014-March/067795.html request
 for GUI development ideas]).

 > We don't want to type d.* commands into the wxGUI console and have them
 work in the GUI, (as works in the old gis.m tcl/tk GUI); that's nice, but
 I think it misses the point.

 Now I don't understand, I though you were proposing `d.*` commands for
 wxGUI in #893.

 > We want to use the d.* commands on a real command line without the GUI,
 as is done with Xmons in earlier GRASSes. So in a separate, super light-
 weight window with no toolbar or other visual clutter. Just a command line
 and a viewport window. i.e. enhance something similar to ximgview or
 wximgview with a right click menu for minimal interactivity.

 I'm afraid that there will never be a right click in `ximgview`,
 `wximgview`, `wxpyimgview` because there will be no will to reimplement
 what is in wxGUI (although any patch would be accepted). For these
 modules, all `d.*` commands are working (if png or cairo divers are used),
 so there is nothing to implement. The non-working commands are the ones
 involving mouse, and this is the case of right click menu.

 Anyway, I like the idea of light weight GUI, it could be actually created
 now from existing wxGUI classes but it would duplicate a lot code from the
 main GUI map display, so it would be actually better to do some
 refactoring or customization for map display to achieve light weight GUI.
 On the other hand, the precise specification of the minimal functionality
 would really help in this case. With the precise information we can
 determine the minimal work which needs to be done to achieve the goal.
 >
 > See comment:4 and d.mon2.py in grass7 addons for a partial hack of
 making it a bit easier to achieve this.
 >
 So, the only missing piece is to create `x`/`simple` driver in `d.mon`
 which would do what `d.mon2` is doing?
 >
 > regards,
 > Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1719#comment:29>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list