How is Position determined to be outdated?

memesaregood 10 months ago

I'm tinkering with the database and I can't quite figure out how does Traccar know if a position is outdated when constructing a Position object. There is no outdated column in the tc_positions table, and there's no field in the attributes JSON.

So, question is, how does it figure out if the position is outdated or not during construction of the object?

Anton Tananaev 10 months ago

What do you need it for?

memesaregood 10 months ago

I just wanted to check how many of them are there for the sake of the statistics, and I don't want to do it through API.

Anton Tananaev 10 months ago

It's a transient property that's not stored in the database.