Opened 9 years ago

Closed 9 years ago

#2945 closed defect (fixed)

Node tags are merged with way tags when copying from one way to another

Reported by: Travers Carter Owned by: Chris Browet
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

When copying tags from one way to another the tags from the source ways nodes are incorrectly merged too (tested against current git master).

For example if you have a highway=residential way with a highway=turning_circle on the end node you end up with highway=residential;turning_circle on the target way.

To replicate:

  1. Find or create a road with the tag highway=residential.
  2. Mark the end (or possibly any?) node with highway=turning_circle
  3. Create a new road with no tags
  4. Select the original road (from step 1.)
  5. Select Edit -> Copy
  6. Select the newly created road (from step 3.)
  7. Select Edit -> Paste Tags (Merge) OR Edit -> Paste Tags (Overwrite)

Actual result The new way gets the tag "highway=residential;turning_circle"

Expected result The new way gets the tag "highway=residential"

Change History (2)

comment:1 Changed 9 years ago by Chris Browet

Owner: changed from cbro@… to Chris Browet
Status: newassigned

I disabled the resolution for the previous bug (relation -> way) but I can't remember why.

For now, I'll restrict tag paste to same class only, with the exception of way -> relation

comment:2 Changed 9 years ago by Chris Browet

Resolution: fixed
Status: assignedclosed

Committed

Note: See TracTickets for help on using tickets.