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

Area and geofence functions: accept literal string argument and check for valid geoshape #769

Open
lognaturel opened this issue Jun 7, 2024 · 0 comments

Comments

@lognaturel
Copy link
Member

Distance now accepts a literal string: #761

It's definitely useful to be able to specify a literal shape to geofence: a form could have exactly one simple fence if all data capture is intended to be done in a small area and in that case it could be specified inline.

I can't think of a reason to use a literal shape for area but we might as well support it for consistency.

I think we should also consider verifying that the first and last point are the same and throwing an error otherwise. I think it's generally going to be more helpful to users to get an explicit failure than to get false/unusable results.

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