Skip to content

ComplexRoundabout returns incorrect instructions. #658

@vladlemberg

Description

@vladlemberg

ComplexRoundabout is not properly handling following combination: junction=roundabout + oneway=no. (data issue)
Example:
WayID
Screen Shot 2020-07-30 at 7 48 26 AM
MalformedRoundabout Check returns following instructions:
1.This roundabout is malformed. 2. This roundabout does not form a single, one-way, complete, car navigable route.
Problem occurs here:
if (this.roundaboutEdgeSet.stream()
.anyMatch(roundaboutEdge -> !HighwayTag.isCarNavigableHighway(roundaboutEdge)
|| !roundaboutEdge.isMasterEdge())
|| !this.roundaboutRoute.start().inEdges().contains(this.roundaboutRoute.end()))
Possible fix options:
Option1 - filter MaterEdge in SimpleEdgeWalker
Option2 - filter MaterEdge in building a Route fromNonArrangedEdgeSet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions