Closed icantspake closed 4 months ago
(43.46165, -3.82461) is in a street in the middle of Santander (Spain); I obtain the coordinates (41.385842, -1.87573), which is in the countryside 315km away
The 315km distance in itself hints at something wrong. You're simply using lat,lon instead of lon,lat (expected order in OSRM API). The coordinate you supply is somewhere in the sea west of Africa and the snapped location is in Kenya.
Oh, how stupid of me! I mislabelled longitud and latitude in my table and it was driving me mad. Thank you so much!
Issue
When I try to obtain the nearest point in the street network to some locations, the API returns a point in the middle of nowhere. This is affecting the Table service too, as I can't correctly compute the driving distance between some points in a set.
Steps to reproduce
Some of the problematic locations:
Screenshots
1st
2nd
3rd