Optimisation route does not look optimised


#1

Hi,
We use Route XL tour to generate optimised route for points we send. Here is map of we get from points when we show it in google maps:

This is list of locations we sent to Route XL(we like that first and last point will be the same):

[{"address":"6 Tomahawk Dr","job_id":0,"type":"start","lat":42.367959,"lng":-71.0305317},{"address":"87 Orleans St","job_id":8936,"type":null,"lat":42.368952,"lng":-71.037036},{"address":"12 Cheever Ct","job_id":8937,"type":null,"lat":42.366407,"lng":-71.0351145},{"address":"512 Sumner St","job_id":8938,"type":null,"lat":42.364985,"lng":-71.030207},{"address":"155 Cottage St","job_id":8939,"type":null,"lat":42.3696882,"lng":-71.03283},{"address":"32 Frankfort St","job_id":8940,"type":null,"lat":42.3697262,"lng":-71.0355461},{"address":"22 Murray Ct","job_id":8942,"type":null,"lat":42.3674484,"lng":-71.0374283},{"address":"534 Sumner St","job_id":8944,"type":null,"lat":42.3640514,"lng":-71.0286887},{"address":"29 Everett St","job_id":8941,"type":null,"lat":42.3680879,"lng":-71.0365642},{"address":"228 Webster St","job_id":8943,"type":null,"lat":42.3649902,"lng":-71.0325394},{"address":"259 Everett St","job_id":8945,"type":null,"lat":42.3651624,"lng":-71.02965},{"address":"6 Tomahawk Dr","job_id":0,"type":"finish","lat":42.367959,"lng":-71.0305317}]

And we get back this:

{"id":"QVZ2PR40082NV3YN587W","count":12,"feasible":true,"route":{"0":{"name":"6 Tomahawk Dr","lat":"42.367959","lng":"-71.0305317","arrival":0,"distance":0},"1":{"name":"155 Cottage St","lat":"42.3696882","lng":"-71.03283","arrival":2,"distance":1},"2":{"name":"87 Orleans St","lat":"42.368952","lng":"-71.037036","arrival":3,"distance":1.5},"3":{"name":"22 Murray Ct","lat":"42.3674484","lng":"-71.0374283","arrival":3,"distance":1.7},"4":{"name":"29 Everett St","lat":"42.3680879","lng":"-71.0365642","arrival":4,"distance":2.1},"5":{"name":"12 Cheever Ct","lat":"42.366407","lng":"-71.0351145","arrival":5,"distance":2.5},"6":{"name":"512 Sumner St","lat":"42.364985","lng":"-71.030207","arrival":5,"distance":3},"7":{"name":"534 Sumner St","lat":"42.3640514","lng":"-71.0286887","arrival":6,"distance":3.2},"8":{"name":"259 Everett St","lat":"42.3651624","lng":"-71.02965","arrival":6,"distance":3.7},"9":{"name":"228 Webster St","lat":"42.3649902","lng":"-71.0325394","arrival":7,"distance":4.1},"10":{"name":"32 Frankfort St","lat":"42.3697262","lng":"-71.0355461","arrival":8,"distance":4.9},"11":{"name":"6 Tomahawk Dr","lat":"42.367959","lng":"-71.0305317","arrival":13,"distance":7.2}}}


#2

The map shows there are many one-way streets in that area, which the algorithm has probably taken into account, while the lines you draw are as-the-crow-flies.

A better way to check is to import the locations array on the route planner website and create a route. It shows the complexity of the route:


#3

Ok, make sense to me.
Where can I find the route planner website is that a some yours product?


#4

We meant our route planner, as we have both an API and website.

To get the locations on the map, you can import your array: