osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Table routing distances differs from viaroute distances

Open chewmag opened this issue 12 years ago • 1 comments

Hello,

I've encountered with a strange distances calculation while testing table routing plugin. For example, when i calculate distances for these locations loc1=55.271611,37.840992, loc2=55.284774,37.945502 json looks as follows (i left only numbers here): 0 ,14255 14140, 0 Viaroute gives me total_distance = 14217 for these locations, which seems consistent with the table plugin. But when i do the same thing for locations loc1=55.271611,37.840992, loc2=55.427698,36.865884 result are: table 0,45446 45747,0 viaroute total_distance = 83656, which is much larger. Maybe i'm missing something important here? Thanks for your help.

chewmag avatar Jun 04 '14 08:06 chewmag

I'd better read the server api description more carefully next time. So, if these numbers are the travel times in seconds multiplied by 10, how can i get distances from them?

chewmag avatar Jun 10 '14 09:06 chewmag