Skip to content

turn:lanes change should require 2+ outgoing lanes #2724

@Famlam

Description

@Famlam

I encountered a few of these while updating a local road.

If a turn:lanes has more than one "outgoing" lanes (e.g. right and left in left|through|through|right) and the next part of the road has less lanes (e.g. left|through|through) then there must be more than one road on that end of the highway. This can be written very complicated to catch all cases, but I guess a simple check (only ensuring that there's 2+ outgoing roads on the correct end of the way) should be sufficient.

Example (using oneways): the top one is obviously impossible, but the bottom one is fine

Image

Obviously this shouldn't trigger for e.g. merge lanes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions