-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't allow adding the same member to a relation if it is already present in it #9311
Comments
Oops, there are plenty of routes we one might legitimately go over the same place twice. However it's still possible in iD to just to keep on clicking on something same place five times in a row. That wouldn't make sense. |
Right, this can legitimately happen for a route that doubles back on itself. Offhand, I can’t think of another good reason for a member to appear twice, though there is a long tail of exotic relation types out there that we should continue to support minimally. The PTv2 scheme and route directions require creating multiple relations for the same route, which have similar labels in iD. To avoid confusion, when you choose a relation to add the current feature to, the list of available relations could sort already added relations to the end of the list, or the label could be grayed out or italicized to indicate that there’s something special about it. A validator warning for unexpected duplicate memberships would also be valuable for non-route relations. |
Related: #8167 |
This is how |
We should visually distinguish any existing relation membership without preventing the user from adding it: #10501. |
iD allows us to add a member to a relation, as many times as we please!
Please just only allow unique members.
What good does having the same member reoccur twice in a relation?
The text was updated successfully, but these errors were encountered: