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

Penalties due to type of street are not considered correctly #626

Closed
PeterPablo opened this issue May 14, 2013 · 2 comments
Closed

Penalties due to type of street are not considered correctly #626

PeterPablo opened this issue May 14, 2013 · 2 comments

Comments

@PeterPablo
Copy link

In the German subforum of openstreetmap.org Chenshi posted an obviously unideal routing [1]:
http://osrm.at/3eC

It seems that penalties are not applied properly, since routing without turning is possible (http://osrm.at/3eD).

[1] http://forum.openstreetmap.org/viewtopic.php?pid=334297

edit: Another bad routing was posted (http://osrm.at/3f6)

@MaartenDeen
Copy link

That is completely because of OSRM's obsession of getting the fastest route and it looks to me no penalties are added anywhere.
In your first example the solution given is 40 metes shorter while all roads have the same maxspeed, so it is faster.
In your second example, calculating from the junction Nienburger Straße/Wagenfelder Straße/Dickeler Straße to An der Loge/Wagenfelder Straße/Mühlenstraße, and taking the posted maxspeeds into account, the calculated route takes 1m54s, the more obvious route takes 1m59s.

I have two such examples:
http://osrm.at/2We where the routing takes the motorway offramp and onramp because it is marginally shorter and calculated with the same speed as the motorway (issue 1803 in the OSMAnd bugtracker) and http://osrm.at/3jr where the time according to the posted speedlimits is shorter than the more obvious route via N556 Stationsstraat. Which in practice will probably be faster too.

BTW: issues like this could have a very adverse effect on the reputation of the router. It is the same as the issue reported in the press at various points in the past that trucks with navigation often take routes that are not fit for trucks or through-traffic "because the navigation said so".

@DennisOSRM
Copy link
Collaborator

Turn penalties are not yet properly set up in the car profile. I will close this as a duplicate of #167. Please continue any discussion there if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants