Skip to content

Commit 94f3496

Browse files
committed
Clarification on multiple bounding boxes in an extent #369
1 parent 3a50e5c commit 94f3496

File tree

2 files changed

+27
-9
lines changed

2 files changed

+27
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
### Changed
1616

1717
- API doesn't discourage usage of `multipleOf` in JSON Schemas any longer.
18+
- The first extent in a Collection is always the overall extent, followed by more specific extents. [#369](https://github.com/Open-EO/openeo-api/issues/369)
1819

1920
### Fixed
2021

openapi.yaml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3997,10 +3997,16 @@ components:
39973997
extent:
39983998
type: object
39993999
title: Collection Extent
4000-
description: >-
4001-
The extent of the features in the collection. Additional members MAY
4000+
description: |-
4001+
The extent of the data in the collection. Additional members MAY
40024002
be added to represent other extents, for example, thermal or
40034003
pressure ranges.
4004+
4005+
The first item in the array always describes the overall extent of
4006+
the data. All subsequent extents can be used to provide a more precise
4007+
description of the extent and identify clusters of data.
4008+
Clients only interested in the overall extent will only need to
4009+
access the first item in each array.
40044010
required:
40054011
- spatial
40064012
- temporal
@@ -4013,12 +4019,16 @@ components:
40134019
type: object
40144020
properties:
40154021
bbox:
4016-
description: >-
4022+
description: |-
40174023
One or more bounding boxes that describe the spatial extent
40184024
of the dataset.
40194025
4020-
If multiple areas are provided, the union of the bounding
4021-
boxes describes the spatial extent.
4026+
The first bounding box always describes the overall spatial
4027+
extent of the data. All subsequent bounding boxes can be
4028+
used to provide a more precise description of the extent and
4029+
identify clusters of data.
4030+
Clients only interested in the overall spatial extent will
4031+
only need to access the first item in each array.
40224032
type: array
40234033
minItems: 1
40244034
items:
@@ -4070,18 +4080,25 @@ components:
40704080
type: object
40714081
properties:
40724082
interval:
4073-
description: >-
4083+
description: |-
40744084
One or more time intervals that describe the temporal extent
40754085
of the dataset.
40764086
4077-
The value `null` is supported and indicates an open time
4078-
interval.
4087+
The first time interval always describes the overall
4088+
temporal extent of the data. All subsequent time intervals
4089+
can be used to provide a more precise description of the
4090+
extent and identify clusters of data.
4091+
Clients only interested in the overall extent will only need
4092+
to access the first item in each array.
40794093
type: array
40804094
minItems: 1
40814095
items:
4082-
description: >-
4096+
description: |-
40834097
Begin and end times of the time interval. The coordinate
40844098
reference system is the Gregorian calendar.
4099+
4100+
The value `null` is supported and indicates an open time
4101+
interval.
40854102
type: array
40864103
minItems: 2
40874104
maxItems: 2

0 commit comments

Comments
 (0)