Force server to save data in right order ?

mbodea200710 months ago

Hello,
I've read others had issues with data not always saved in the right order, and one recommendation was to disable geocoding,
but I need geocoding. Geocoding is performed locally on nominatim, so response is very fast.
Is there a way to force the server to save data in the right order ?
I have an example here, when device have sent 7 positions, which were saved in wrong order:

2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:36:31, lat: 45.78146, lon: 14.01228, speed: 50.8, course: 323.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:37:11, lat: 45.78146, lon: 14.01228, speed: 46.4, course: 351.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:36:21, lat: 45.79417, lon: 13.98964, course: 0.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:36:51, lat: 45.79902, lon: 13.98337, course: 0.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:35:21, lat: 45.78466, lon: 14.00620, speed: 58.9, course: 294.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:35:41, lat: 45.78845, lon: 14.00053, speed: 59.9, course: 318.0
2023-06-04 10:40:37  INFO: [U35fce9bd] id: 352093087574728, time: 2023-06-04 10:36:01, lat: 45.79190, lon: 13.99420, speed: 59.9, course: 303.0

Thank you

Anton Tananaev10 months ago

If disabling geocoding doesn't help, there's nothing you can do on the server. Sometimes it's configurable on the device.

mbodea200710 months ago

Hello.
I'm using Teltonika devices, configured to send old data first.
If SAVING data in right order is not possible, can READING data to be shown on route for example be done sorted by device time instead of position id?
Thx

Anton Tananaev10 months ago

Reports are ordered by time, if that's what you mean.

mbodea200710 months ago

For the replay and route screens?

Anton Tananaev10 months ago

Should be all of those.