Remapping of device position if within geofence

fixundfertig123 3 hours ago

Hello,

please excuse my potential lack of knowledge. I really like the traccar and integrated some ESP32 devices. Some of these devices are predominantly within a geofence location. However, due to the signal noise I get position updates which are pretty much "non-relevant", since the are within a predefined geofence, see image below:
Screenshot 2026-08-12 155422.jpg

Now my question:
Is it possible to update the position of a device prior its database write operation to the position of the geofence? Best case would be to enable / disable it per device "flag". Reason: in my opinion it would:
a.) clear the appearance of the device position by avoiding these "non-sense" positions.
b.) Reduce DB storage size since noise positions would not be stored, but set to "known" position.

Thank you for your input and help!

fixundfertig123 3 hours ago

I meant:

...
However, due to the signal noise I get position updates which are pretty much "non-relevant", since they are predominately stationary and within a predefined geofence, see image below:
...

Anton Tananaev 3 hours ago

That's what filtering is for.

fixundfertig123 3 hours ago

Hi, thank you for your quick reply!

But that works only for all devices, or? In case I have some devices with precise tracking positions, that would be "overwritten" as well?

Anton Tananaev 3 hours ago

Not sure I understand your questions.

fixundfertig123 3 hours ago

Sorry for not being precise enough.

I have some devices which are not very precise. But they are located within a geofence area. And I know, as long as they are in this geofence area I am fine with it. Then I have some devices which are quite precise (using bluetooth, gps, ...) with low noise and I want their exact position. However, sometime devices of both categories are within the same geofence location. For the first type of devices a position mapping to the geofence location (your "filtering") would be great, since - lets say 95% - of the position updates are just noise. For the latter category the "false position updates" are very little. For those devices I do not want any filtering but the exact position.

Could this clear your questions?

Anton Tananaev 3 hours ago

Filtering can be applied to specific devices.

fixundfertig123 3 hours ago

Ah, I think you pointed me to the right direction. I guess you mean a combination of: filter.skipAttributes and filter.skipAttributes.enable?

I somehow missed this in the docs. Thank you!

Anton Tananaev 3 hours ago

That's not what I mean. I mean literally filtering configuration can be applied per device.

fixundfertig123 33 minutes ago

Ah, you mean device based distance attribute. I think I need to reread the complete docs. Sorry, for not being better prepared. Thank you!