traccar / traccar-web

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
825 stars 1.13k forks source link

Trips report #1027

Open karls4 opened 2 years ago

karls4 commented 2 years ago

Hi,

On the old system we used to be able to select multiple devices/groups for the trips report.

Currently we can only select 1 device.

Can the device multiselect be added back in

tananaev commented 2 years ago

It was removed because:

  1. It is expensive to calculate trips for multiple devices, so there was a common issue with timeouts
  2. It's not very readable when you have a combination of different devices

Please provide some arguments why you think we need it and why benefits are more important that the issues I mentioned.

karls4 commented 2 years ago

Hi,

We run reports on multiple vehicles to report on when the start and finish their work day. It's become a very slow process doing each vehicle one by one.

If people are finding it resource intensive they still have the option to only select one vehicle.

tananaev commented 2 years ago

Wouldn't event report be more efficient than calculating trips?

As for resource intensive issue, the problem is that end users don't know technical details and they just select groups of devices because it's easier for them. It results in errors that increase support and maintenance overhead for people who are managing the server.

karls4 commented 2 years ago

Hi,

Even with the event report I am still only able to select one device.

I need to use the trips report to get the start address and the end address so that I know when they left home and if they returned home in the middle of the day or early.

Is it possible to create a link that we can still use to get to the legacy site if the modern web app isn't going to be changed?

Its not ideal having to stop the server every week to swap back to the legacy site and restart it after the reports are run.

Or is it possible to set a config setting pass through multiDevice as a true or false?

Thanks

        <ReportFilter handleSubmit={handleSubmit} multiDevice>
tananaev commented 2 years ago

You can run both apps at the same time. For example, you can use different subdomain and have a proxy server that also hosts the legacy app.

karls4 commented 2 years ago

Is there any documentation on how to do this? Its a windows server

Thanks

tananaev commented 2 years ago

Don't really have a documentation specifically for that, but if you're familiar with some web server, you should be able to configure it.