T0709
June 15, 2024, 9:07am
1
Any idea what is causing this weird routing result ?
opened 02:38PM - 11 Jun 24 UTC
### Describe the routing engine used (required)
- [x] OsmAnd's in-app offli… ne routing
- [ ] Any online routing provider (YOURS, openrouteservice, OSRM, etc.)
### Describe your routing Profile (required)
Car, fuel-efficient, no toll-roads, no motorways.
### Describe your start and end points (required)
Example, approximate
Start: 35.39894, -80.60776
End: 35.40181, -80.60878
Can start farther south, and end farther north.
### Describe the actual route (required)
Says turn left then U-turn.
<table style="width:100%">
<tr>
<th><img src="https://github.com/osmandapp/OsmAnd/assets/66975721/69b5c0d8-88df-4bc3-be6e-323d47d3449d" width="300" height="auto"/> </th>
</tr>
</table>
### Describe the expected route (required)
Should slight turn right or bear to right or almost stay straight, not turn left and U-turn.
### Describe what Maps you used (online or offline) (required)
- [x] Offline maps offered within the OsmAnd app for download. North Carolina USA June 1, 2024, or previous, with weekly updates
- [ ] Online (tile / raster) maps
### Your Environment (required)
```
OsmAnd Version: 4.7.17 from F-Droid Main
Android/iOS version: 14 (CalyxOS)
Device model: Pixel 6a
```
### Anything else? (optional)
Looked at openstreet map, but did not find error to correct.
easbar
June 15, 2024, 9:31am
2
The first problem here is that there is a no-right-turn restriction that is circumvented by driving this odd loop (which is not forbidden according to the current OSM data, even though in reality it is illegal/not possible). The second problem is that the route doesn’t simply go straight from the beginning, which is probably due to the weighting of the different highway types.
This way should probably rather be trunk_link
than trunk
, just like this way
T0709
June 21, 2024, 7:25pm
4
And find another strange result by the GH router.
The osrm result is without that unexpected unnessary diversion.
This is a bug that we’ll have to fix.