Skip to content

Missing internal edges lead to wrong instruction collapsing #5056

@oxidase

Description

@oxidase

If edges of a segregate intersection are not detected as internal, eg https://www.openstreetmap.org/way/151861700 is not detected as an internal edge
screenshot from 2018-04-25 14-21-23

then some instructions can be collapsed twice: in collapseSegregatedTurnInstructions and later in collapseTurnInstructions. The latter collapsing may use incorrect turning angle and this is visible as an unexpected directions modifier SharRight instead of U-Turn:
screenshot from 2018-04-25 14-31-18

http://localhost:9966/?z=18&center=48.134556%2C11.522271&loc=48.134680%2C11.522094&loc=48.134744%2C11.522196&hl=en&alt=0

/cc @dgearhart

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