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

Via points without hint returns unexpected route #914

Closed
perliedman opened this issue Feb 11, 2014 · 3 comments
Closed

Via points without hint returns unexpected route #914

perliedman opened this issue Feb 11, 2014 · 3 comments

Comments

@perliedman
Copy link

I'm adding via points interactively, which means I often have hints for some of the locations, from previous requests.

Today, when I add a via without hint, I get a routing responsewhich does not include the new via, but a duplicate for one of the hinted locations.

Example URL:

http://router.project-osrm.org/viaroute?instructions=true&loc=57.74,11.94&hint=5ll9HgAAAAAIAAAAAAAAAAAAAAAAAPA_ygpxA94wtgA&loc=57.70488096416628,11.88892364501953&loc=57.6792,11.949&hint=KUhfFSl0AAAAAAAAIgAAAEyGl1mKwIc_ax1wA6lTtgA&checksum=0&jsonp=_l_geocoder_1

This should return a route from (57.74,11.94) via (57.70488,11.8889) to (57.6792,11.949), looking at the result, via_points looks like this:

"via_points":[[57.739978,11.940062],[57.679211,11.948969],[57.679211,11.948969]]

Instead of adding the proper via point, the last coordinate has been added twice.

I'm pretty sure this worked as expected just the other day (2-3 days ago), but now it does not.

Is this a bug, or should I just not use hinting if it's not available for all locations?

@DennisOSRM
Copy link
Collaborator

acknowledged. Fix available shortly.

DennisOSRM added a commit that referenced this issue Feb 11, 2014
@DennisOSRM
Copy link
Collaborator

ea30005 should fix this issue. Will be automatically deployed onto the demo site within 24 hours.

@perliedman
Copy link
Author

Nice! Quick fix.

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

2 participants