[GRASSGUI] Re: [GRASS-dev] wxgrass ready for testing
Michael Barton
michael.barton at asu.edu
Fri Jun 15 11:54:14 EDT 2007
On 6/15/07 8:23 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:
> On 15/06/07 10:07, Michael Barton wrote:
>> The new wxPython GRASS interface (AKA wxgrass) is pretty much equal in
>> functionality to the standard TclTk interface, and so is ready for
>> regular testing.
>
> Great job guys !!
Thanks. And thanks for the testing. This is what we need. I'll be away for a
week or so and won't be able to work on anything. A few comments below
anyway.
>
>
>
>> There are also some enhancements over the TclTk interface, including:
>> a prototype attribute data manager (works for interactive mouse queries)
>
> Do I understand correctly that "management" does not include editing ?
That's some of the not finished part.
>
>> more sophisticated profile analysis module
>
> Clicking on the profile tool entry in the menu I get:
Mine works OK, so we need someone to trouble shoot with a system like yours.
Just checking, do you have numpy installed?
>
> Traceback (most recent call last):
> File "/usr/lib/grass/etc/wx/gui_modules/mapdisp.py", line 1737, in
> Profile
> style=wx.DEFAULT_FRAME_STYLE)
> File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 80, in __init__
> toolbar = self.__createToolBar()
> File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 195, in
> __createToolBar
> self.AddToolbarButton(toolbar, *each)
> File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 204, in
> AddToolbarButton
> tool = toolbar.AddLabelTool(id=wx.ID_ANY, label=label, bitmap=icon,
> shortHelp=help)
> File
> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
> line 3715, in AddLabelTool
> shortHelp, longHelp, clientData)
> File
> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
> line 3637, in DoAddTool
> return _controls_.ToolBarBase_DoAddTool(*args, **kwargs)
> ValueError: invalid null reference in method 'ToolBarBase_DoAddTool',
> expected argument 4 of type 'wxBitmap const &'
>
>
>
>> full command line access to all GRASS commands; d.* commands called from
>> the command line can display in the wxPython canvas.
>
> How do I erase a layer which was displayed via a d.* command ?
d.erase with a color argument. e.g., d.erase white.
>
>> easily positioned scalebar and legend
>
> Works great now !
> Any way to change the size of a legend ?
Legend properties. Set in % of screen area like before.
>
>
> A few more issues I came upon:
>
> - d.vect.thematic:
> - the defaults indicated in the gui, do not seem to be included
> automatically in the resulting command string. There are things like
> 'type=<required>' in the command line in the status bar. I have to
> explicitely select each of the items to make the <required> elements go
> away?
I don't know. Some kind of problem with the command parser. Hopefully Daniel
Cavelo can take a look at it.
> - I get a gui error windows stating: "Execution failed:
> 'd.vect.thematic map=fields at PERMANENT column=cat --q'" and a message
> "You must open a display monitor" in the terminal.
Pick the checkbox that says for display in GUI.
>
> - d.vect.chart: I get a message "Type <themechart> of layer
> <bugsites at PERMANENT> is not supported yet", but it actually works
> perfectly !
Same thing happens for d.grid. A minor bug in the rendering system.
Cheers
Michael
>
> That's all for today.
>
> Moritz
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-gui
mailing list