I realized that at times the travel report comes out with some wrong data.
in this case the vehicle drove approximately 7 km. on the map it shows that it rotated.
however in the API it shows negative values.
"distance": -10.0799999833107,
"averageSpeed": -0.016424063007174073,
What can it be?
{
"deviceId": 1,
"deviceName": "HONDA CIVIC",
"distance": -10.0799999833107,
"averageSpeed": -0.016424063007174073,
"maxSpeed": 21.5983,
"spentFuel": 0,
"startOdometer": 179574433.04,
"endOdometer": 179574422.96,
"startTime": "2022-12-13T15:46:41.000+00:00",
"endTime": "2022-12-13T16:06:34.000+00:00",
"startPositionId": 200283,
"endPositionId": 200356,
"startLat": -17.87022,
"startLon": -41.487744,
"endLat": -17.870259,
"endLon": -41.487898,
"startAddress": null,
"endAddress": null,
"duration": 1193000,
"driverUniqueId": "0B822B66",
"driverName": "JEAN MATOS"
}
This has been discussed many times before. Usually it indicates that your device reported data in the wrong order or it reported incorrect odometer values.
I realized that at times the travel report comes out with some wrong data.
in this case the vehicle drove approximately 7 km. on the map it shows that it rotated.
however in the API it shows negative values.
What can it be?
{ "deviceId": 1, "deviceName": "HONDA CIVIC", "distance": -10.0799999833107, "averageSpeed": -0.016424063007174073, "maxSpeed": 21.5983, "spentFuel": 0, "startOdometer": 179574433.04, "endOdometer": 179574422.96, "startTime": "2022-12-13T15:46:41.000+00:00", "endTime": "2022-12-13T16:06:34.000+00:00", "startPositionId": 200283, "endPositionId": 200356, "startLat": -17.87022, "startLon": -41.487744, "endLat": -17.870259, "endLon": -41.487898, "startAddress": null, "endAddress": null, "duration": 1193000, "driverUniqueId": "0B822B66", "driverName": "JEAN MATOS" }