Skip to content

Detecting impossible routes #1652

@jinalfoflia

Description

@jinalfoflia

There are instances where we know if the routes between the two points are impossible (for e.g. There can be no route between Australia and New Zealand). In instances like these, where OSRM shows nothing, we can have an error message displayed stating that it's an impossible route

screen shot 2015-09-07 at 3 51 14 pm

Currently, after receiving the route failures, the script filters out the impossible routes with the help of the polygons. So for every failure we check the location of the waypoints, if any of them lie in a different polygon a route cannot exist.

screen shot 2015-09-07 at 3 54 18 pm

/cc @TheMarex @geohacker @planemad

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions