chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

routing: Support alternatives for single-mode routing calculations #1001

Open tahini opened 3 days ago

tahini commented 3 days ago

This requires to pass down the trip routing query attributes all the way down to the OSRM call. It is added as an optional parameter at the end of the route and other calculation functions, as well as in the socket route for routing calculation.

If the withAlternatives attribute is true , the osrm backend call sets the alternatives attribute to true.