Id: Prevent user from adding duplicate relations

Created on 14 Dec 2019  Â·  7Comments  Â·  Source: openstreetmap/iD

Perhaps prevent the user from accidentally adding duplicate relations.
21135-0
At least during the Save Edit processing.

validation wontfix-not-a-bug

Most helpful comment

@jidanni Some types of relations can have the same feature as a member multiple times, such as a road that a bus route traverses twice. Boundaries don't work like that, but I'm not sure if this is a big enough problem to spend time addressing.

All 7 comments

In fact after we add the first, it should be removed from the hints offered when making the second.

Here if I type an "A" the same item as just entered above is suggested.
14696-1

@jidanni Some types of relations can have the same feature as a member multiple times, such as a road that a bus route traverses twice. Boundaries don't work like that, but I'm not sure if this is a big enough problem to spend time addressing.

Here's some more that I'm not sure how I made.
7882-1
Clicking the "å·¥" also showed the same two at top.
Only upon saving did they finally become resolved into one.

@jidanni Your screenshot shows duplicate tags, not duplicate relations. Let us know if you can reproduce that problem.

(OK trying again today with the tags part, I found it very hard to get a duplicate tag tip. So the tags part is working OK.)

Closing in favor of #7648.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tordans picture tordans  Â·  3Comments

manfredbrandl picture manfredbrandl  Â·  3Comments

rivermont picture rivermont  Â·  3Comments

jidanni picture jidanni  Â·  3Comments

Sirvanalie picture Sirvanalie  Â·  3Comments