itinero / routing

The routing core of itinero.
Apache License 2.0
222 stars 70 forks source link

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

Open pietervdvn opened 4 years ago

pietervdvn commented 4 years ago

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