Hi
We’re getting errors in certain US areas using the TomTom data provider that we weren’t previously e.g. Texas and Iowa which was working before Christmas. I’ve been using data based in Ireland and there’s no issue there.
Sample request:
{
"vehicles": [
{
"vehicle_id": "car_1",
"type_id": "car",
"shifts": [
{
"shift_id": "shift_1",
"start_address": {
"location_id": "690_1138",
"lon": -103.622274,
"lat": 30.111646,
"name": "Service A"
},
"earliest_start": 1641805200,
"latest_end": 1641835800,
"return_to_depot": false
}
]
}
],
"vehicle_types": [
{
"type_id": "car",
"profile": "car",
"consider_traffic": false
}
],
"services": [
{
"id": "690_1138",
"name": "Service A",
"address": {
"location_id": "690_1138",
"lon": -103.622274,
"lat": 30.111646
},
"duration": 2700,
"priority": 2
},
{
"id": "690_47",
"name": "Service B",
"address": {
"location_id": "690_47",
"lon": -104.278262,
"lat": 29.724477
},
"duration": 2700,
"priority": 2
}
],
"configuration": {
"routing": {
"calc_points": true,
"consider_traffic": false,
"network_data_provider": "tomtom",
"return_snapped_waypoints": false
}
}
}
Response:
{
"message": "Cannot retrieve costs from matrix service",
"hints": [
{
"message": "Cannot find the following locations: start location (lon: -103.622274, lat: 30.111646) of vehicle 'car_1:shift-id:shift_1'",
"details": "PointNotFound"
},
{
"message": "Cannot find the following locations: service location (lon: -103.622274, lat: 30.111646) of service '690_1138'",
"details": "PointNotFound"
},
{
"message": "Cannot find the following locations: service location (lon: -104.278262, lat: 29.724477) of service '690_47'",
"details": "PointNotFound"
},
{
"message": "Connection between locations not found: [ start location (lon: -103.622274, lat: 30.111646) of vehicle 'car_1:shift-id:shift_1'], [ start location (lon: -103.622274, lat: 30.111646) of vehicle 'car_1:shift-id:shift_1']",
"details": "ConnectionNotFound"
},
{
"message": "Connection between locations not found: [ start location (lon: -103.622274, lat: 30.111646) of vehicle 'car_1:shift-id:shift_1'], [ service location (lon: -103.622274, lat: 30.111646) of service '690_1138']",
"details": "ConnectionNotFound"
},
{
"message": "Connection between locations not found: [ start location (lon: -103.622274, lat: 30.111646) of vehicle 'car_1:shift-id:shift_1'], [ service location (lon: -104.278262, lat: 29.724477) of service '690_47']",
"details": "ConnectionNotFound"
}
],
"status": "finished"
}
Changing network_data_provider from “tomtom” to “openstreetmap” gives a successful response.