DennisOSRM/Project-OSRM — Issue #98: u-turn at end point
Author: emiltin
Created: 2012-02-01 20:15:07+00:00
State: open

```
Scenario: Chain of Ways
Given the nodes
| a | b | c | d | e |

And the ways
| nodes |
| ab |
| bc |
| cd |
| de |

When I route I should get
| from | to | route |
| a | e | ab,bc,cd,de |
```

but actually i get: bc,cd,de,de

{"version": 0.3,"status":0,"status_message": "Found route between points","route_summary": {"total_distance":440,"total_time":85,"start_point":"","end_point":"de"},"route_geometry": "_ibE_ibE?gE?gE?gE?gE??","route_instructions": [["Head","",111,0,210,"0","NE",22.5],["Continue","bc",111,1,210,"1","NE",22.5],["Continue","cd",111,2,210,"2","NE",22.5],["Continue","de",111,3,210,"3","NE",22.5],["U-Turn","de",0,4,210,"4","NE",22.5]],"via_points":[],"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}

notice the last instruction: ["U-Turn","de",0,4,210,"4","NE",22.5]

(also, that first way is empty, but this is noted in separate issue)