I have a situation with some trackers that when having been in sleep mode, on vibration activation will send data several times to the server with 0 longitude and 0 latitude or Valid No before sending valid data. The problem is that it then shows the tracker located on the equator so causes the map to zoom out to contain all the plots. Is there a way to filter out any 0 longitude and latitude or Valid No.
See screen shots: https://www.screencast.com/t/SOCsKYvr and https://www.screencast.com/t/3eaQdQaVDnE
Thank you for a quick reply, I have added this line
<!-- Custom Settings -->
<entry key='filter.zero'>true</entry>
to just before <!-- DATABASE CONFIG -->
and restarted the Traccar server.
Am I doing it correctly?
You have to enable filtering as well.
Thank you I have added as below.
<!-- Custom Settings -->
<entry key='filter.enable'>true</entry>
<entry key='filter.zero'>true</entry>
I have a situation with some trackers that when having been in sleep mode, on vibration activation will send data several times to the server with 0 longitude and 0 latitude or Valid No before sending valid data. The problem is that it then shows the tracker located on the equator so causes the map to zoom out to contain all the plots. Is there a way to filter out any 0 longitude and latitude or Valid No.
See screen shots: https://www.screencast.com/t/SOCsKYvr and https://www.screencast.com/t/3eaQdQaVDnE