Skip to content

Routing to an inaccessible road segment #378

@BK01

Description

@BK01

Background:
The demographic road network includes segments where cars and trucks cannot be driven. Two examples can be seen in Vancouver which leads to different results.

Example 1: Pedestrian Plaza (Bute-Robson Plaza)
Test coordinates: 49.29311,-123.13302,49.28501,-123.12839

Vehicles are restricted from using this block of Bute Street. Given the attribution/classification of this road segment, the BC Route Planner considers this to be off the navigable road network and successfully generates a route that finishes at the end of the plaza.

Example 2: Vehicles restricted, except buses (Granville Street)
Test coordinates: 49.27779,-123.10475,49.28478,-123.11471

Vehicles are restricted from using several blocks of Granville Street (except buses). This is enforced by turn restrictions at intersections along the street. Unlike the pedestrian plaza example where the snapDistance to a point off the navigable road network generated a successful route, in this case the destination is on the road network but is inaccessible due to the presence of turn restrictions. As a result, no route is found.

Task:
Research and propose an option to better handle the second example in order to generate a successful route as we see in the first example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions