Filter wrong position sent by device

jcorreajr8 years ago

Hello everyone!
Some devices that I use sometimes send a non-standard and random position, usually several kilometers from the correct position.
It is a device problem but I would like to filter and discard these erroneous positions.
I checked the topic:
Sudden jumps in position due to GPS device error
That the solution was to implement a filter called "filter.maxSpeed" because in that case, the random position sent was accompanied by a very high speed.
In my case the speed stays within the expected and the "filter.maxSpeed" option does not apply.
I believe the ideal would be to have a filter that analyzes the maximum distance in a specific time interval between the last and the next position, where:
If the last position within a time interval is X kilometers distant from the previous position, then it must be discarded (filtered)

What do you think?
Does anyone else have the same need?

map position
Anton Tananaev8 years ago

I think you misunderstood how the "filter.maxSpeed" parameter works. It does not use speed reported by the device. It calculates speed from distance between two locations divided by time between them. That's exactly what you are asking for.

jcorreajr8 years ago

Yes, I really was not well understood!
Is it available in version 3.11?

Anton Tananaev8 years ago

It will be available in the next release.

Anton Tananaev7 years ago

That's exactly the point of this attribute. To filter out data that makes no sense.

Anton Tananaev7 years ago

You are free to pick lower value if you want.

Anton Tananaev7 years ago

I don't think it needs correction. Documentation says that you should start TESTING with higher values. I would not recommend to pick low values unless you have problems with your device that require it.

Hi , Anton tananaev sir,
I develop http://localhost:8082/
it is working properly

but i install Traccar Client App

in that have
Device identifier: it is i changed and put 523
Server URL: in this i put my computer ip that is http://192.168.1.155/ in this any corrections tell me
Frequency
Distance
Angle
Location Provider:i put GPS provider
when see in status it shows
1.Service Started
2.Location Update
3.Connectivity Changed
4.Send failed
i see in traccer in system my name and device in offline mode
plzzzzz rectify my problem

Anton Tananaev7 years ago

Port should be 5055.

I cant see where is port option in my app

1.Device identifier
2.Server URL
3.Frequency
4.Distance
5.Angle
6.Location Provider
these options only i saw in my mobile traccar client app

i put http://192.168.1.155:5055/ in server url but same problem i got.