itinero/routing

Bug: A longer, less optimal route is taken in certain circumstances

pietervdvn opened this issue · 0 comments

When the 'Genk' profile is chosen, the router avoids the genk profile. This only happens if the priority of the segments exceeds a certain value.

Input data (relation is highlighted):
image

Output of the routerdb, with the better routes in a darker color. Preferred routes (the Genk network) is clearly darker. The segments have a 'speed corrected' of around 181.8, whereas the non-preferred cycletracks only have a value of around 2
image

The incorrect route:
image

This bug is surfaced in the testbench. All necessary files can be found in the attached file