Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter issue #3618

Closed
perseptron opened this issue Oct 30, 2017 · 9 comments
Closed

Filter issue #3618

perseptron opened this issue Oct 30, 2017 · 9 comments

Comments

@perseptron
Copy link

Hello Anton,
There is a little mistake in processing filtering position.
I use 3.14 ver. of program with such set of filters:

<entry key = 'filter.enable'>true</entry>
  <entry key = 'filter.duplicate'>true</entry>
  <entry key = "filter.distance">50</entry>
  <entry key = 'filter.skipLimit'>3600</entry>
  <entry key = "filter.maxSpeed">80</entry>
  <entry key = "filter.skipAlarms">true</entry>
  <entry key = 'filter.future'>600</entry>
  <entry key = 'filter.zero'>true</entry>

So when my teltonika 1125 start after long time of not working it send zero coordinates. These coordinates have to be filtered because of filter.zero = true, but they are not, because of skipLimit.
As a result I have to correct device distance from time to time.

@tananaev
Copy link
Member

So what is the issue? It sounds like you just need to disable skip limit.

@perseptron
Copy link
Author

Yes I need (maybe not only me) to disable skiplimit for zero coordinates only. How can I do that?

@tananaev
Copy link
Member

Unfortunately it's not possible at the moment.

@perseptron
Copy link
Author

It seems to me that some kind of filters can't be skipped. I believe they are - maxspeed, future and zero. They are wrong positions, so do not need to write them out anyway. It would be nice if in new version you take it into account. Thank you.

@tananaev
Copy link
Member

What about filter.approximate and filter.skipAttributes?

@perseptron
Copy link
Author

Do you mean, you want create new filter - filter.skipAttributes with list of all filters that can be skipped? If so, I think that decision will solve the problem.

@tananaev
Copy link
Member

tananaev commented Nov 2, 2017

It has already been implemented.

@perseptron
Copy link
Author

but what for that filters are? I can't find them in documentation...

@tananaev
Copy link
Member

tananaev commented Nov 2, 2017

Those options are not documented yet. They are only in the code.

@tananaev tananaev closed this as completed Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants