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

Roaming geofence with GET #354

Open
brncsk opened this issue Sep 5, 2018 · 2 comments
Open

Roaming geofence with GET #354

brncsk opened this issue Sep 5, 2018 · 2 comments

Comments

@brncsk
Copy link
Contributor

brncsk commented Sep 5, 2018

Consider the following:

INTERSECTS polygons FENCE GET points id

This only emits messages when any of the polygons change, but not when the point is updated.

I'm not sure if this is on purpose or is considered a bug. If the former: is there any other way to construct a roaming geofence with said functionality?

@tidwall
Copy link
Owner

tidwall commented Sep 9, 2018

Hi,

When using FENCE GET the object is loaded one time statically for the life of the geofence. Updates to the underlying object do not update the geofence. This is not considered a bug.

I'm not sure of a way to make FENCE GET do what you are looking for without updating the object, deleting the old fence, and then recreating the geofence.

I can see the value in having a geofence track changes to the object and perhaps a new feature.

@brncsk
Copy link
Contributor Author

brncsk commented Sep 19, 2018

Thanks for the input!

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