Trips Report - Distance showing negative or missing

Anazapta7 years ago

Hi Anton,

I know that there are some reports regarding the trips report with negative distance etc. Let me put all the things in one place.
From server config is added ignoreOdometer at config file.
The problem is now that when the server is offline for example of 4-5 hours i have the issue of wrong trips report.
I checked the routes and i got all the information from batch of data from sd-card of device in this case teltonika device.
so i can see the route of the device in the server but the server does not show the calculation of the trip, so the summary of distance calculation is missing or negative value.
I have every information regarding location, speed and other parameters but the trips or summary reports are missing or showing negative values.
What to do in this case?

report from routes

report from trips

Anton Tananaev7 years ago

Traccar can only calculate distance correctly if device reports data in correct order. Probably it's not the case for you.

Anazapta7 years ago

i checked that the device send the data sorting "from newest". i changed it now to be sorted "from oldest" .
So Anton you think that this is a problem of device which send data in wrong order ?!

Anton Tananaev7 years ago

Traccar just doesn't support distance calculation for devices that send data in wrong order.

bsaggarwal6 years ago

HI Anton
first of all ..thanks for the good work.
i am a new user on traccar server and would like need help in understanding what wrong am i doing.

My traccar server is reporting ROUTES for the car but no TRIPs and STOPs. I have not made any changes to configuration file related to trips and stop param so i assume this will use default values.
can you help?

Anton Tananaev6 years ago

Read documentation, look at the data your devices report and then adjust parameters as needed.