[OSRM-talk] Shortest time versus shortest distance

Stephen Woodbridge woodbri at swoodbridge.com
Wed Nov 13 20:45:31 UTC 2013


Hi Dennis,

I noticed that in the map.osrm for edges we define both edge length and 
edge weight that is in 1/10s units.

Is is possible to get routes based on shortest path versus shortest time?

When I was reading somewhere (maybe in the profile.lua) that you can 
apply a cost for traffic lights which implies to me that this is adding 
some time to the route.

Maybe this is all defined in the profile.lua and I need to look more 
into these.

Thanks,
   -Steve



More information about the OSRM-talk mailing list