Broken routing on motorway?

Thanks for having a look @adam :heart:

More details on the lift gates from the original example can be found in the GitHub issue.

The example from Spain is just another reincarnation of the same underlying issue: barriers with unspecified access are considered as blocked (here the lift gates 10902022990 and 10973705305). This behavior is actually different from how GraphHopper handles such cases: there barriers with undefined access are considered as passable. However, the latter approach has the disadvantage of occasionally suggesting illegal or impossible routes due to physically closed barriers. Consider the following example where it is not legal to drive a private car on a forest track, which is enforced with (closed) lift gates.

graphhopper

openrouteservice

1 Like