Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.4k stars 3.39k forks source link

Use angle to improve roundabout instructions #1363

Closed emiltin closed 8 years ago

emiltin commented 9 years ago

Using the angle between the arrival and departure roads could improve roundabout instructions.

Istead of: Enter roundabout and take the first exit. Enter roundabout and take the second exit. Enter roundabout and take the third exit.

We could do for example: Enter roundabout and go sharp right, first exit. Enter roundabout and go straight on, second exit. Enter roundabout and go left, third exit.

MoKob commented 8 years ago

For small roundabouts, this is implemented in https://github.com/Project-OSRM/osrm-backend/pull/2303. For larger roundabouts, that are not completely visible, this will probably not be done.