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

Create AOI with coordinate + buffer #49

Open
AlexMountain opened this issue May 14, 2019 · 2 comments
Open

Create AOI with coordinate + buffer #49

AlexMountain opened this issue May 14, 2019 · 2 comments
Assignees
Milestone

Comments

@AlexMountain
Copy link
Contributor

AlexMountain commented May 14, 2019

Right now the only way to create an AOI with with a POLYGON WKT string. We should support AOI creation with a coord + buffer value using POINT and LINESTRING WKTs.

@AlexMountain AlexMountain added this to the v3 milestone May 14, 2019
@AlexMountain AlexMountain self-assigned this May 14, 2019
@hobu
Copy link
Member

hobu commented May 14, 2019

GeoJSON?

@AlexMountain
Copy link
Contributor Author

GeoJSON looks nice and formatted but adding it now to solve this problem doesn't jive as well with the current way we're taking in AOI geoms. If developers would find GeoJSON support helpful for them we could definitely considering adding it as an alternative. For the time being this is the supported changes going into 1.4.7:

- name: geom
      in: formData
      description: A WKT geometry describing the AOI. Supports POLYGON natively, POINT and LINESTRING with a buffer parameter.
      required: true
      type: string
- name: buffer
      in: formData
      description: A buffer radius in meters for POINT or LINESTRING geom WKTs.
      required: false
      type: float

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants