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

Route endpoint finds some route but table endpoint's distance/duration is null #5266

Closed
amirmasud opened this issue Nov 14, 2018 · 6 comments

Comments

@amirmasud
Copy link

amirmasud commented Nov 14, 2018

It's a bit weird.
When we call
/table/v1/driving/51.41444495082490107,35.78089624643325806;51.41494141049,35.780812357317?destinations=1
There is no route found.

But when we call exactly the same coordinates in route endpoint, it finds.
/route/v1/driving/51.41444495082490107,35.78089624643325806;51.41494141049,35.780812357317

We tested it on both latest and 5.18 docker tags with MLD and all of them had null value on table endpoint :(

UPDATE:
we rerun with CH the algorithm again and there was no null on CH algorithm.

@jcoupey
Copy link

jcoupey commented Nov 14, 2018

Maybe related to #4448.

@amirmasud
Copy link
Author

amirmasud commented Nov 14, 2018

Also it's good to be mentioned that these two points are close to each other on a one-way road (about 45 meters difference)
Furthermore, when we swap the source and destination on table request it finds a route.

@amirmasud
Copy link
Author

@jcoupey I added an update for the question part.
Also, on 42000 table request (points with less than 1 KM euclidean distance) we had about 2000 request with one or more nulls on MLD.

we're going to test all those requests with CH too to test if it hasn't any nulls.

@amirmasud
Copy link
Author

UPDATE
There were no null response in all of those 42000 table request on CH algorithm.

@jamiewinder
Copy link

I've just encountered this myself with:

/table/v1/car/-1.2498919177722032,52.8002137485707;-1.9755007419310395,53.48975507479622?radiuses=1000;1000&generate_hints=false&sources=0&destinations=1&annotations=duration,distance

The result is:

{"code":"Ok","sources":[{"distance":246.49217,"name":"Pasture Lane","location":[-1.249901,52.797999]}],"destinations":[{"distance":503.717194,"name":"","location":[-1.983072,53.49004]}],"durations":[[null]],"distances":[[null]]}

What options do I have to help with this? Is there any more detailed diagnostic information I can get at?

@mjjbell
Copy link
Member

mjjbell commented Nov 14, 2020

#5828 fixes this issue in v5.23.0

@jcoupey jcoupey closed this as completed Jan 12, 2021
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

4 participants