Is rounds working?


#1

Hello, I am submitting some locations, taken from the documentationa and parameters[rounds]=3 to the API and get the following result. Are rounds working as it is difficult to tell how I can split this in to rounds as the arrival and distance increases.

    {
"id": "qiXUn1id9lvpA3p8JOJ0",
"count": 7,
"feasible": true,
"route": {
0: {
"name": "1",
"lat": "52.05429",
"lng": "4.248618",
"arrival": 0,
"distance": 0
},
1: {
"name": "3",
"lat": "51.669946",
"lng": "5.61852",
"arrival": 83,
"distance": 134.6
},
2: {
"name": "4",
"lat": "51.589548",
"lng": "5.432482",
"arrival": 102,
"distance": 158
},
3: {
"name": "4",
"lat": "51.589548",
"lng": "5.432482",
"arrival": 102,
"distance": 158
},
4: {
"name": "1",
"lat": "52.05429",
"lng": "4.248618",
"arrival": 189,
"distance": 283.5
},
5: {
"name": "2",
"lat": "52.076892",
"lng": "4.26975",
"arrival": 194,
"distance": 287.4
},
6: {
"name": "1",
"lat": "52.05429",
"lng": "4.248618",
"arrival": 201,
"distance": 291.7
},
7: {
"name": "5",
"lat": "52.3702",
"lng": "4.8951",
"arrival": 252,
"distance": 359.3
},
8: {
"name": "1",
"lat": "52.05429",
"lng": "4.248618",
"arrival": 300,
"distance": 425.6
}
}
}

#2

Rounds are working. The route is returning to the departure location with name “1” multiple times as it creates the rounds. The arrival and distance are cumulative, if you need these for each round seperately, you should substract the arrival and distance when departing.


#3

Thank you for your fast response.