Skip to content

Routing: support conditional (turn) restrictions #2896

@tohaklim

Description

@tohaklim

Description
Was somewhat surprised to find out that despite extensive conditional support for access restrictions, OsmAnd routing doesn't seem to be taking into account conditional turn restrictions? Eg

type=restriction
restriction:conditional = only_right_turn @ (Mo-Fr 07:00-20:00; PH off)

Would it be possible to add support for this?

Examples:
https://www.openstreetmap.org/relation/6455280
https://www.openstreetmap.org/relation/15876892

How to reproduce?
Always

Your Environment
OsmAnd Version: 4.4.8.11
Android/iOS version: iOS 16.4.1
Device model: iPhone X/11

Maps used (online or offline):
Offline, offline in-app routing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions