Wednesday, 9 August 2017

openstreetmap - Seeking route calculation service to get route between several points?


I need a routing service with an API callable from a web or desktop application. I have several points: a start, an end, and intermediate points in the disorder. I expect the routing service to send me the shortest path between the start and the end, via every intermediate point.


Do you know such a service ?




Answer



MapQuest Open Directions API Web Service has an "Optimized routing" feature:



All the power of the routing function, plus we'll re-order the stops for you to provide the most efficient route to get to all your stops. Great for planning out the best way to get round multiple places you need to visit in a single journey.



There is also Google Directions API, in which you have to specify both origin and destination points, more waypoints with the "optimize:true" option to get the best waypoint order.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...