diff --git a/core/standard/openapi/parameters/core/cube-bbox.yaml b/core/standard/openapi/parameters/core/cube-bbox.yaml new file mode 100644 index 000000000..432d5fa3c --- /dev/null +++ b/core/standard/openapi/parameters/core/cube-bbox.yaml @@ -0,0 +1,32 @@ +name: bbox +in: query +description: |- + Only features that have a geometry that intersects the bounding box are selected. + The bounding box is provided as four numbers: + * Lower left corner, coordinate axis 1 + * Lower left corner, coordinate axis 2 + * Upper right corner, coordinate axis 1 + * Upper right corner, coordinate axis 2 + + For WGS 84 longitude/latitude the values are in most cases the sequence of + minimum longitude, minimum latitude, maximum longitude and maximum latitude. + However, in cases where the box spans the antimeridian the first value + (west-most box edge) is larger than the third value (east-most box edge). + If a feature has multiple spatial geometry properties, it is the decision of the + server whether only a single spatial geometry property is used to determine + the extent or all relevant geometries. +required: true +schema: + oneOf: + - items: + type: number + type: array + minItems: 4 + maxItems: 4 + - items: + type: number + type: array + minItems: 6 + maxItems: 6 +style: form +explode: false \ No newline at end of file diff --git a/core/standard/openapi/paths/queries/cube.yaml b/core/standard/openapi/paths/queries/cube.yaml index 887f787f3..cf19707d5 100644 --- a/core/standard/openapi/paths/queries/cube.yaml +++ b/core/standard/openapi/paths/queries/cube.yaml @@ -7,7 +7,7 @@ get: operationId: GetDataForCube parameters: - $ref: ../../parameters/collections/collectionId.yaml - - $ref: ../../parameters/core/bbox.yaml + - $ref: ../../parameters/core/cube-bbox.yaml - $ref: ../../parameters/core/cube-z.yaml - $ref: https://beta.schemas.opengis.net/ogcapi/common/part2/0.1/collections/openapi/parameters/datetime.yaml - $ref: ../../parameters/core/parameter-name.yaml diff --git a/core/standard/requirements/edr/query_type/item.adoc b/core/standard/requirements/edr/query_type/item.adoc index 571137a1c..37df19635 100644 --- a/core/standard/requirements/edr/query_type/item.adoc +++ b/core/standard/requirements/edr/query_type/item.adoc @@ -26,7 +26,7 @@ a| **bbox** * <> -* <>|String|**Yes** a| The coordinates are defined by a BBOX string. Only data that has a geometry that intersects the <> defined by the <> +* <>|String|**No** a| The coordinates are defined by a BBOX string. Only data that has a geometry that intersects the <> defined by the <> are selected. * Lower left corner, coordinate axis 1