grass icon indicating copy to clipboard operation
grass copied to clipboard

[Feat] Add 'Copy [map] to current mapset' to context menu

Open wenzeslaus opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Often, instead of doing general data management between mapsets, I just want to create a copy of a vector map in my current mapset, so I can modify it, e.g., change attributes.

With the current Data tab functions, I need to mark it for copying and then paste it to my current mapset. That's fine and works in general, but it seems to me that getting a copy in the current mapset is quite common use case and it is not convenient enough.

Describe the solution you'd like

Add the following action to the raster and vector map items in the Data tab:

  • Copy map to the current mapset

Describe alternatives you've considered

If there is too much items or the use "copy vector to current mapset" use case does not seem to be common enough, the current copy and paste

Move is another possible addition, but I don't know how useful. Probably not much. You are doing some more general management at that points

Additional context There are currently 7 items in the context menu of a raster or vector map.

wenzeslaus avatar Dec 19 '20 20:12 wenzeslaus

It is always interesting to see how different usage patterns can be. I don't think that in over 20 years of GRASS GIS usage, I have ever needed a copy of a map in the same mapset ;-) When I want a different attribute table I just link a table to another layer.

I would be curious to know if others have such usage. For me this does not justify a menu entry, but won't oppose if this is a frequent need for many.

Am 19. Dezember 2020 21:33:42 MEZ schrieb Vaclav Petras [email protected]:

Is your feature request related to a problem? Please describe.

Often, instead of doing general data management between mapsets, I just want to create a copy of a vector map in my current mapset, so I can modify it, e.g., change attributes.

With the current Data tab functions, I need to mark it for copying and then paste it to my current mapset. That's fine and works in general, but it seems to me that getting a copy in the current mapset is quite common use case and it is not convenient enough.

Describe the solution you'd like

Add the following action to the raster and vector map items in the Data tab:

  • Copy map to the current mapset

Describe alternatives you've considered

If there is too much items or the use "copy vector to current mapset" use case does not seem to be common enough, the current copy and paste

Move is another possible addition, but I don't know how useful. Probably not much. You are doing some more general management at that points

Additional context There are currently 7 items in the context menu of a raster or vector map.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OSGeo/grass/issues/1190

mlennert avatar Dec 19 '20 21:12 mlennert

I don't think that in over 20 years of GRASS GIS usage, I have ever needed a copy of a map in the same mapset ;-)

Perhaps I was not clear enough. I mean copy to my current mapset from another mapset. I was thinking about this being available for all maps in all locations as the current Copy & Paste in the Data tab. In that case, is really does not depend if it is from a different mapset or the current one.

Anyway, as @petrasovaa pointed out, this functionality is partially available in Display tab for vector maps (in the same location, but different mapset). This functionality should be moved together with export to Data tab, so this should be covered in #1192 if it implemented more generally than the current functionality in Display tab.

wenzeslaus avatar Dec 20 '20 04:12 wenzeslaus