Opened 15 years ago
Closed 5 years ago
#4635 closed enhancement (fixed)
Inform about wrong turn-relations when splitting ways
Reported by: | dieterdreist | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | turn_restriction relation split way from via to | Cc: |
Description
When a way is split, JOSM's usual behaviour is to copy the relation-memberships to all pieces of the split way. For turn_relations this is not the desired behaviour. JOSM should instead check which part of the split way has the "via"-Node in it's nodes and move the membership just to this part. If the turn_relation was modeled improperly (via is not part of one of the ways, or is part of both/all ways, the user should be notified).
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 15 years ago
Priority: | major → normal |
---|---|
Summary: | don't copy turn_restriction_relation membership when splitting the way → Inform about wrong turn-relations when splitting ways |
comment:2 by , 15 years ago
Replying to stoecker:
Actually JOSM already does this. It does not inform about wrong turn relations, but when splitting it does only add the part which is really meant (in case it can detect it).
cool, I checked it and that's true now (was different some months ago). JOSM is great!
comment:3 by , 12 years ago
Priority: | normal → major |
---|
comment:5 by , 5 years ago
Keywords: | from via to added |
---|
comment:6 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
1) As said in first comment, JOSM already copies the roles to the correct segments
2) It's not split's job to report invalid data: this is done by validator with this error: The "from" way does not start or end at a "via" node.
Actually JOSM already does this. It does not inform about wrong turn relations, but when splitting it does only add the part which is really meant (in case it can detect it).