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

Polygon area type added #195

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ilya-smirnov-berlin
Copy link

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

Geofences should support polygon type areas. Circle type is rarely used as geofence. Usually a geofence describes a shape of an (often human built) geographical object like factories, buildings, city and country areas.

Which issue(s) this PR fixes:

Fixes #194

Special notes for reviewers:

Changelog input

Support for polygon area type

@@ -342,6 +349,33 @@ components:
longitude: 7.10066
radius: 50000

Polygon:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For coherence, we should use same schema that we already have defined for location-retrieval: https://github.com/camaraproject/DeviceLocation/blob/main/code/API_definitions/location-retrieval.yaml#L289, which is very similar, but uses boundary and maxItems is 15

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. The change is done.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, we have to conclude the discussion in the issue #194 before deciding on the PR

@jlurien jlurien marked this pull request as draft June 19, 2024 07:27
@jlurien
Copy link
Collaborator

jlurien commented Jun 19, 2024

Converted to Draft until we resolve the discussion in #194.

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

Successfully merging this pull request may close these issues.

[Geofencing] Support for polygon area type
4 participants