[OSRM-talk] viaroute vs. route

Giovanni Resta g.resta at iit.cnr.it
Thu Aug 18 13:51:26 UTC 2016

Hi all.
I'm new to OSRM (I installed it just today on my Debian machine).

I would like to understand why I obtain two very different outputs 
calling the server.

In particular, consider this invocation (using viaroute)


Then consider the query with the same coordinates:
(I obtain exactly the same results locally on my machine):


The first output is much longer and detailed than the second, but
what makes me wonder is that the first one has:

"total_distance":79944,"total_time":3432, while the second has:


There is a large discrepancy, especially in the time. Why?
Am I doing something wrong with the syntax of "route/v1/driving" ?


More information about the OSRM-talk mailing list