Filter: Wrong GPS position with 0 high

ChrisXY3 years ago

Hello, I have wrong GPS positions 10-20 times a day. These always have the value: 0 as a value. How can I filter this? Does the filter have to be in the XML or in the cfg?

Anton Tananaev3 years ago

Have you checked the documentation?

ChrisXY3 years ago

yes i have add some thinks in default xml and traccar xml but not working

    <entry key='database.driver'>org.h2.Driver</entry>
    <entry key='database.url'>jdbc:h2:./data/database</entry>
    <entry key='database.user'>sa</entry>
    <entry key='database.password'></entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.maxSpeed'>25000</entry>
<entry key='filter.skipLimit'>28800</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>5</entry>
<entry key='event.motion.speedThreshold'>0.11</entry>
</properties>
Anton Tananaev3 years ago

Have you enabled filtering?

ChrisXY3 years ago

oh not in the traccar.xml i have add <entry key='filter.enable'>true</entry> and will test

ChrisXY3 years ago

not working i see a wrong GPS with high 0

Anton Tananaev3 years ago

High zero?

ChrisXY3 years ago

sorry ... Height
https://ibb.co/qYxm9Nk

Anton Tananaev3 years ago

I see now. You are talking about altitude. There's no filtering for that.

ChrisXY3 years ago

hm okay i have this error 4-5 x a day.. any idea ? device is jumping outside the fance

Anton Tananaev3 years ago

How is jumping out of a geofence related to altitude? I would recommend you to provide a proper detailed explanation in English if you want some advice.

ChrisXY3 years ago

Okay picture: https://ibb.co/vLRV4Nh
Everything works fine. But one of my devices often has incorrect GPS settings. 99% are in my fance. But occasionally a GPS is shown 200 meters away. It is noticeable that "altitude" is always 0. If I delete ALL sent positions with "altitude" = 0 my problem is solved.

ChrisXY3 years ago

with a other device same problems many altitude 0. Why i can not add a filter for altitude?