DennisOSRM/Project-OSRM — Issue #105: wrong way around a triangle
Author: emiltin
Created: 2012-02-04 11:44:21+00:00
State: open

```
Given the nodes # features/step_definitions/test_data.rb:144
| a | | b |
| | | |
| | c | |
And the ways # features/step_definitions/test_data.rb:161
| nodes |
| ab |
| bc |
| ca |
When I route I should get # features/step_definitions/routing.rb:149
| from | to | route | details |
| a | b | ab | |
| a | c | ca | |
| b | c | bc | |
| b | a | ab | |
| c | a | ca | |
| b | a | bc,ca | [["Head", "bc", 248, 0, 127, "0", "NE", 22.5], ["Turn sharp right", "ca", 248, 1, 127, "1", "NE", 22.5]] |
| c | b | bc | |
| c | a | ca | |
| c | b | ca,ab | [["Head", "ca", 248, 0, 127, "0", "NE", 22.5], ["Turn sharp right", "ab", 222, 1, 114, "1", "NE", 22.5], ["Turn sharp right", "bc", 0, 2, 0, "2", "NE", 22.5]] |
```

so it seems i'm getting routed the long way around on some of the trips?

when going from b to a, i get bc,ca, instead of just ab
when going from c to b, i get ca,ab, instead of just bc