[GRASSGUI] Re: [GRASS-dev] wxgrass ready for testing

Moritz Lennert mlennert at club.worldonline.be
Mon Jun 18 11:49:26 EDT 2007


On 15/06/07 17:54, Michael Barton wrote:
> 
> 
> On 6/15/07 8:23 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:
> 
>>
>>> 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.

This works, but it also erases all the layers which were entered via the 
gui. I.e. in spearfish:

- add a vector layer via gui
- display
- type d.vect streams in command line + enter: both vector maps are 
displayed
- type d.erase white in command line: both vector maps disappear

I know this is asking for a lot, but would it be possible to distinguish 
between the two types of layers (gui and command line) and only erase 
the latter when typing d.erase ? Or even better: automatically add a 
layer in the gui when you add it via the command line. This would also 
allow moving layers up and down the stack independently of how they were 
added.

Then again, I don't know how often one would used such a mixed system of 
displaying things...


>>> 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.

Works great, thanks.

However, I have the mysterious situation that dragging and 
double-clicking scalebar or legend sometimes works and sometimes doesn't 
  (it never worked for me before, then it worked when I tried last time, 
now it doesn't again...). Still trying to figure this one out.

> 
>> - 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.

It's the one in the 'Options' tab saying 'Output legend for GIS Manager 
(for scripting use only). Couldn't this be set by default ?

Moritz




More information about the grass-gui mailing list