Opened 16 years ago
Closed 16 years ago
#2227 closed enhancement (fixed)
Copy between layers without move
Reported by: | Firefishy | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | copy paste layers | Cc: | landwirt@…, GuillaumeAudirac |
Description
Copy - Paste between layers, offsets the paste location.
Copy - Paste between layers would be more useful if it kept the same location when pasted to another layer.
Identical location would make copy-paste much more useful for the controlled merging of imported data.
Attachments (0)
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Cc: | added |
---|
I'm working on the building import in Rostock. It would simplify the editing if I could work with two layers and move some edited buildings from one layer to another. Merging layers doesn't help and copy&paste is useless due to the shifted position.
PS: Is there a "Cut" function for cut&paste - can't see it?
comment:3 by , 16 years ago
Cc: | added |
---|
I suggest the paste not being too shifted, as it is currently far away from the initial position. And it is very useful to use a GPX trace from another layer, to copy it, paste it on the working layer and simplify it with Shift-Y.
A slight shift depending on the zoom factor would be fine.
comment:5 by , 16 years ago
I would be happy if there was a second paste function that gave the choice of it moved or not.
Perhaps <ctrl>-<alt>-P or <ctrl>-<shift>-P for the same location paste.
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In r1887 there is a new "merge selected" action. It merge the selected primitives of the active layer into another layer you can select in a dialog.
It does keep the same location of the original primitives. It behaves like any other merge operation and will remember conflicts if it can't resolve them automatically.
It merges a slightly bigger set of primitives than just the selection:
- nodes are merged as is
- ways are merged including their nodes (even if the nodes are not in the selection)
- relations are merged including new members, even if they are are not in the selection (recursively). members with id>0 are merged as incomplete primitives unless they are in the selection, too.
I'm closing this one for the time being. Please reopen if you feel that there is still something missing.
Layer merging can do what you want. I'm unsure if Copy&Paste really should be modified, as when working in one layer it is better when the position is not identical.