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

include z difference in fence test #696

Open
uwer opened this issue Jul 7, 2023 · 0 comments
Open

include z difference in fence test #696

uwer opened this issue Jul 7, 2023 · 0 comments

Comments

@uwer
Copy link
Contributor

uwer commented Jul 7, 2023

Setting a fence or roaming fence follows the syntax of
NEARBY FENCE ROAM

In The test for nearby matches (fence and roaming fences) tests for group, id an distance
internal/server/fence.go#L367

Describe the solution you'd like
I propose to add an optional additional argument to the original statement to allow z-value difference
NEARBY FENCE ROAM

Once the value is fed through simple test in
internal/server/fence.go#L402C5-L402C5 would do the trick

this would allow for potential assignment of timestamp values as Z values of a point and reducing the match within a fence to be also within a reasonable time window

Describe alternatives you've considered
this would potentially be possible to use a whereeval clause based on the z value or a field ts by
creating a boolean test as (not the correct syntax);
"return abs(FIELDS.ts - ts ) < ts difference>"

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

1 participant