[OSRM-talk] Clarification about "shortest path"

Emil Tin emil at tin.dk
Fri Jun 5 13:40:35 UTC 2015


The default car profile computes fastest route. If you modify it to use the same speed everywhere you will get shortest.

Emil

Sendt fra min iPhone

> Den 05/06/2015 kl. 14.46 skrev deltasight <deltasight at gmail.com>:
> 
> Hello,
> 
> I successfully use OSRM for months, and I would like to thank the developing team for this wonderful project.
> 
> I have always wondered if the "viaroute" query in server API actually computes shortest path (distance) or fastest path (time).
> 
> The official github wiki says "shortest", but this page (http://wiki.openstreetmap.org/wiki/Routing/online_routers) says "fastest". When I compare results with YOURS, OSRM seems to compute fastest paths. Then, is there a way to compute real shortest paths ? Will alternative routes be a mean to get correct shortest paths ?
> 
> Thank you in advance,
> Regards
> 
> 
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk



More information about the OSRM-talk mailing list