woodbri / vehicle-routing-problems

C++ Classes for solving various vehicle routing problems
MIT License
18 stars 7 forks source link

What happens if OSRM fails to find a route for a path #10

Open woodbri opened 10 years ago

woodbri commented 10 years ago

Check that we handle the case where OSRM fails.

This is failing for Vicky but not for Steve:

GET 'http://localhost:5000/viaroute?z=18&instructions=false&alt=false&loc=-34.8488,-56.2166&loc=-34.896,-56.1929&loc=-34.897,-56.193&loc=-34.897,-56.1925&loc=-34.896,-56.1928&loc=-34.8918,-56.1894&loc=-34.8927,-56.1865&loc=-34.8927,-56.1857&loc=-34.8926,-56.1849&loc=-34.8488,-56.0948&loc=-34.8977,-56.1241' {"status":207,"status_message": "Cannot find route between points"}

cvvergara commented 10 years ago

It needs to use euclidean... and becuase we have the streets id we can "add extra time" because of changing streets