none
Multiple results sets in one Routes API call RRS feed

  • Question

  • I am trying to calculate driving distances between one result and about 300 other end points, then sorting by shortest to longest.

    For an app where a customer enters their location and we calculate the shortest distances to our 300 business locations

    Can I pass this type of request in one post and get all the results in one xml return?  rather than posting 300 times?

    Thanks!


    • Edited by SeanHSean Friday, March 28, 2014 5:04 PM
    Friday, March 28, 2014 5:04 PM

Answers

  • No. The service is not designed to do this. At best you could make use of the multi waypoint routing functionality and have up to 25 waypoints in a single request. Calculate a lot of routes by doing something like A to B, B to A, A to C, C to A....

    http://rbrundritt.wordpress.com

    Friday, March 28, 2014 10:38 PM