I face a strange "issue" that I can't answer on my own, please give some advice.
Lets say I make an ExtendedRoute calculation with the following points:
Code: Select all
"waypoints": [
{ "latitude": 46.918599, "longitude": 18.111492 },
{ "latitude": 48.430225, "longitude": 12.392042 }
]
(Of course the values might differ with other profiles etc.)
Route.Info.Distance = 636621
Route.Info.Time = 21988
But if sum the Route.WrappedCountryInfos.PartRouteInfo.Distances/Durations (so the separated country relevant values) the values differ (somethimes the difference is more significant):
Sum: 636619
Code: Select all
{ "country": "HU", "distance": 152245 },
{ "country": "SI", "distance": 91568 },
{ "country": "AT", "distance": 332234 },
{ "country": "DE", "distance": 60572 }
Code: Select all
{ "country": "HU", "duration": 4629 },
{ "country": "SI", "duration": 3065 },
{ "country": "AT", "duration": 11435 },
{ "country": "DE", "duration": 2858 }
My guess: The distance between the provided point and the segment where the point is linked to does not take part in the country based summary. Is that the correct guess?