Modify

Opened 5 years ago

Closed 4 years ago

#1187 closed defect (fixed)

[Patch] "Paste Tags" won't work between linestrings and nodes

Reported by: SLowRider aka ce Owned by: framm
Priority: major Component: Core
Version: latest Keywords:
Cc:

Description

After copying a linestring a trial to paste the tags to a node will fail. This is crucial if you want to add a node with the same tags as an area you just created.

Attachments (1)

Copy Tags from Node to Ways and vice versa.patch (5.5 KB) - added by xeen 4 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 5 years ago by anonymous

I do understand you description at all. Please explain, what you try to say.

comment:2 Changed 5 years ago by anonymous

Arrgh. I meant "I do NOT understand".

comment:3 Changed 5 years ago by anonymous

  • Resolution set to wontfix
  • Status changed from new to closed

No answer. Closing.

comment:4 Changed 4 years ago by hawke@…

  • Resolution wontfix deleted
  • Status changed from closed to reopened

"After copying a linestring a trial to paste the tags to a node will fail."
means, "After copying a way, attempting to use 'paste tags' on a node will fail."

I've found this to be the case also in the opposite direction (node to way). It would definitely be helpful to be able to copy tags between different types.

comment:5 Changed 4 years ago by achadwick

  • Version set to latest

This one bugs me as well. It should be possible to Paste Tags between objects of different types, i.e. from a Node to a Way and vice versa.

It'd be useful when somebody has added a node to represent an object and you want to turn it into an area because you have better imagery now or you've traced the boundary.

comment:6 Changed 4 years ago by stoecker

Ticket #1658 has been marked as a duplicate of this ticket.

comment:7 Changed 4 years ago by stoecker

Ticket #2324 has been marked as a duplicate of this ticket.

comment:8 Changed 4 years ago by xeen

  • Summary changed from "Paste Tags" won't work between linestrings and nodes to [Patch] "Paste Tags" won't work between linestrings and nodes

Adds "real" sources to the paste buffer when the data is copied. On pasting, a single primitve type must be selected and the original copy action only may have contained a single primitive type. Basically this boils down to "Ways -> Nodes" and "Nodes -> Ways". All other cases will fall back to the current action.

Also removes useless call to nodes.clear() and makes use of return/continue to make pasteKeys better readable.

comment:9 Changed 4 years ago by dieterdreist

Thank you xeen, if this is working! Waiting for one year for this.

comment:10 Changed 4 years ago by xeen

comment:11 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from reopened to closed

In r1514.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.