Modern interface - optimization problem?

Lukasz2 years ago

With records every 5 seconds, the replay takes a long time. An option to change the replay speed would be nice.

I noticed that Modern version on a smartphone already at 3k records (2 day report - record every 1 minute) it works very slowly (smartphone with snapdragon 8gen1 12GB RAM), Legacy version works quickly.

Anton Tananaev2 years ago

You don't have to actually play it. You can select any point on the map.

Lukasz2 years ago

Actually, I overlooked this feature.
You are right that replay gives you many features that are in the route report.

I understand that there is no technical way to improve the optimization in the route report? We need to move from route report to replay.

Anton Tananaev2 years ago

There are ways to improve it, but I'm not exactly sure why someone would need to display that much data as a table.

Lukasz2 years ago

I think that many users (not administrators) mindlessly display long periods on the map (and the route report is the basic report - after clicking on the reports it is selected automatically). Especially that on a smartphone the limit of smooth operation is not large - in my case it is below 3000 records (it's only 2 days when reporting once per minute). Therefore, if it is possible to optimize this report, I think it is worth doing. This will definitely improve the comfort of using the traccar system (especially on a smartphone). Of course, the decision is up to you.

Lukasz2 years ago

I saw a fix on github - display limit to 4000 records. I have a small suggestion - I think it's worth adding information for the user when he wants to display over 4000 records. When the user makes a route report from e.g. a week (over 4000 records), then a part of the route will be displayed on the map (not the whole week) - it is worth informing the user about it (e.g. dear user Your report is too large, the first 4000 records have been displayed ).

Anton Tananaev2 years ago

It's not really a fix, but a quick temporary workaround to not crash the app when you try to load too much data.

Lukasz2 years ago

OK thank you for the information. Have a nice day!

Niksu2 years ago

I tried to get one year report, but not work. I only want Odometer / total distance in one year. And of course it would be nice to get more, like 5 year data also. But even one year data is impossible to get.

Anton Tananaev2 years ago

Niksu, for your use case it doesn't make sense to use the route report.

Niksu2 years ago

Chart or summary doesn't work either. It works if try to get some small amount of data. Like one or two day, and one month work also etc. But not whole year. Any another way to get how much mileage there was in one year, or in 5 years etc ?

Anton Tananaev2 years ago

If it doesn't work, it doesn't work for a completely different reason. If you want to discuss it, you should create a separate thread.