Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add turn costs to car profile #1121

Closed
Newbie07 opened this issue Jul 13, 2014 · 3 comments
Closed

Add turn costs to car profile #1121

Newbie07 opened this issue Jul 13, 2014 · 3 comments

Comments

@Newbie07
Copy link

Please have a look at following example:
http://osrm.at/8qU

This should be:
http://osrm.at/8qR

I did check the data. All highways have maxspeed=50 and the primary road (B 3) also surface asphalt and at least one lane per direction.

I do not know, how the one second difference was calculated. Are traffic_signals evaluated ? The operating mode (button_push) is missing, so far. Would it make any differences ?

Any way, it is usually better to use the major route in situations like the above as you have to give way on both left turns and you have more curves, more altitude and smaller roads. The route itself is less complicated and saver.

@Newbie07
Copy link
Author

Ok, I see, the traffic light adds a penalty and the two turns do not (#860).

@TheMarex TheMarex changed the title Strange routing preferring two left turns in favour of staying on major road. Add turn costs to car profile May 22, 2015
@TheMarex
Copy link
Member

Turn costs are currently not enabled in the car profile.

@danpat
Copy link
Member

danpat commented Aug 26, 2016

They were enabled with b3822d5

@danpat danpat closed this as completed Aug 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants