Open AlexMountain opened 5 years ago
GeoJSON?
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
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.