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

Inconsistency between table and viaroute solutions #1374

Closed
ZupoLlask opened this issue Feb 4, 2015 · 7 comments
Closed

Inconsistency between table and viaroute solutions #1374

ZupoLlask opened this issue Feb 4, 2015 · 7 comments

Comments

@ZupoLlask
Copy link

Dear Community,

I've stumbled upon a routing inconsistency between viaroute and table solutions.

Although all 3 locations are considered routable with:

The same 3 locations produce "{"status_message":"Cannot find route between points","status":207}" with:

Can you please help?

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2015

difference with the z parameter?

@ZupoLlask
Copy link
Author

No difference at all...

@ZupoLlask
Copy link
Author

@emiltin Maybe this may be somewhat related with #930. What do you think?

@TheMarex
Copy link
Member

TheMarex commented Feb 4, 2015

Yeah the behavior of viaroute and table is currently not the same. This will probably change in the future to be more consistent.
That said. I'm not sure why viaroute fails in this example. #930 should have fixed most "No route found" errors.

@DennisOSRM
Copy link
Collaborator

Looks like a minor regression

@ZupoLlask
Copy link
Author

When there's a fix to test this regression please let me know.

@MoKob
Copy link

MoKob commented Jan 15, 2016

Was able to reproduce (and fix) this locally.

The problem here is that the via-node is mapped to a street that requires a u-turn at the via-node. The default search does not allow via-nodes at u-turns.

Passing http://router.project-osrm.org/viaroute?loc=41.143505,-8.621610&loc=41.146953,-8.622990&u=true&loc=41.148046,-8.623843 (allow a u-turn at the via location), the plugin can find the correct route.

The difference here is that the table plugin does not have to worry about u-turns (point-to-point).

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

5 participants