Opened 9 years ago

Closed 2 weeks ago

#457 closed enhancement (fixed)

wxGui, layer manager: copy/paste/save layer; workspace load in Display n (not only in 1)

Reported by: paoloC Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: unspecified
Keywords: layer manager, workspace, lmgr, layers Cc: martinl
CPU: Unspecified Platform: Unspecified

Description

in wxGUI, Layer Manager, I've just tried these actions:

1) load some vector maps and set properties 2) save workspace as gxw file; 3) start new display (Display 2) 4) in Layer Manager, Display 2, try to load workspace saved previously 5) display 2 … vanish

It would be very useful to have the chance to: 1) copy and past layers from one display to another, avoiding repetitive tasks of setting properties; 2) save singular layer so it could be possible to load it in other project/dsplay (without load entire workspace).

Change History (3)

comment:1 Changed 9 years ago by paoloC

Component: defaultwxGUI

comment:2 Changed 9 years ago by martinl

Cc: martinl added
Keywords: layer manager added
Milestone: 6.4.06.5.0
Priority: majornormal

comment:3 in reply to:  description Changed 2 weeks ago by wenzeslaus

Keywords: workspace lmgr layers added
Resolution: fixed
Status: newclosed

Replying to paoloC:

in wxGUI, Layer Manager, I've just tried these actions:

1) load some vector maps and set properties 2) save workspace as gxw file; 3) start new display (Display 2) 4) in Layer Manager, Display 2, try to load workspace saved previously 5) display 2 … vanish

This is actually expected behavior. Workspace is not saving one Map Display, but all Map Displays, so the vanishing is actually closing both and opening just the one previously saved. I assume that the desired result was copying of the layers as discussed below.

It would be very useful to have the chance to: 1) copy and past layers from one display to another, avoiding repetitive tasks of setting properties; 2) save singular layer so it could be possible to load it in other project/dsplay (without load entire workspace).

There is now Copy button in the layer properties (d.* command) dialogs, so you can copy the underlying command and paste it the Console (tab) with the other display active. This achieves the desired result.

Closing as fixed.

Please, open new tickets if you want additional features such as Ctrl+C/Ctrl+V in Layers tab or adding one workspace to another.

Note: See TracTickets for help on using tickets.