Skip to content

Requirement to detect Left/Right driving countries #10

@marq24

Description

@marq24

to solve GIScience/openrouteservice#389

In OSM oneway cycleways are handled quite badly - at the end of the day the info cycleway:left=lane (or similar) requires to know the general driving direction of the country (in which the way is located) in order to determine the possible driving direction (for a bike).

We can either ignore "left" or "right" info - and let cyclist ride in "any direction" - or we need to detect the actual country via some bounding boxes (https://www.rhinocarhire.com/Car-Hire-Blog/August-2009/Which-Countries-Drive-on-the-Left,--a-Handy-Guide.aspx) and then based on the country we can implement the correct possible direction.

This issue is already present in the original GH code - so it's not a "self made" problem - IMHO the use of left and right in OSM tagging is fundamental wrong approach - but for sure we can not fix/adjust that... So the only correct solution will be to detect the country...

In order to save performance we can do that ONLY , if the way contain any left/right tags...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions