Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Trav
[Submitted to the original trac issue database at 1.51am, Sunday, 9th May 2010]

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"

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 1.50pm, Sunday, 9th May 2010]

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

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 3.02pm, Sunday, 9th May 2010]

Committed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant