One to Many Best Practice

4 posts / 0 new
Last post
gw1500se
One to Many Best Practice

I need to create one to many distance queries. I understand that the gross distance limit is 12,000. Since I cannot know the gross distance until after the locations are calculated what is the best way to accomplish this? I know I can do one location per query but that seems very inefficient. What is the best way to submit queries without exceedng the limit? TIA.


MQBrianCoakley
I believe some users have
I believe some users have calculated straight line distance between lat/lng before a route matrix. If there are addresses involved then a batch geocode can be done first, use those results to get an estimate via Haversine calculations then decide on a buffer for driving distance before sending the matrix request.

gw1500se
I'll have to look into that.

I'll have to look into that. Thanks.


MQBrianCoakley
You're welcome
You're welcome