8000 Area and geofence functions: accept literal string argument and check for valid geoshape · Issue #769 · getodk/javarosa · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Area and geofence functions: accept literal string argument and check for valid geoshape #769
Open
@lognaturel

Description

@lognaturel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0