Bug Report - Directions Route Matrix API - One to Many - NodeJs

6 posts / 0 new
Last post
jaeksnaek
Bug Report - Directions Route Matrix API - One to Many - NodeJs

Hi, my team has been using Mapquest for some time now to calculate drive times for our drivers and ensure the optimal employee is sent to a job. We have been batching together 100 employee addresses against a destination and never noticed any issues until recently. However, now sending 100 addresses to the One to Many API is causing many of the drivetimes to return as 0 minutes. Changing to 50 addresses still results in the same issue. Only by reducing the batches to 25 have we been able to get around the issue. We are passing an array of latitude and logitudes as locations and the only option we have set is doReverseGeocode to false. Let me know if you need any clarification or if there's something I missed.

Thanks,

Jake


MQBrianCoakley
What error message do you get
What error message do you get back?

jaeksnaek
No error message, just a

No error message, just a large portion of the results come back as 0 when they should not be. The same data set when split into groups of 25 produces the correct results.


MQBrianCoakley
There is a limit to the total
There is a limit to the total mileage of the request that will cause zero mileage results after that limit. I believe the limit is 12,500 miles. Is the total mileage exceeding that limit where it was not previously?

jaeksnaek
That might actually be the

That might actually be the reason. Thank you!


MQBrianCoakley
You're welcome.
You're welcome.