From 7007eff0a27334dc9c2be224c683b58f8fc5569b Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Wed, 14 Apr 2021 17:53:47 +0200 Subject: [PATCH] Clarification on multiple bounding boxes in an extent. https://github.com/radiantearth/stac-spec/issues/1064 https://github.com/opengeospatial/ogcapi-features/pull/520 --- CHANGELOG.md | 3 +++ core/commons.yaml | 29 ++++++++++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b71b929..77cf5200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- The first extent in a Collection is always the overall extent, followed by more specific extents. [opengeospatial/ogcapi-features#520](https://github.com/opengeospatial/ogcapi-features/pull/520) + ## [v1.0.0-beta.1] - 2020-12-10 ### Added diff --git a/core/commons.yaml b/core/commons.yaml index 42f5835d..daa12149 100644 --- a/core/commons.yaml +++ b/core/commons.yaml @@ -246,6 +246,12 @@ components: The extent of the features in the collection. In the Core only spatial and temporal extents are specified. Extensions may add additional members to represent other extents, for example, thermal or pressure ranges. + + The first items in the arrays always describe the overall extent of + the data. All subsequent extents can be used to provide a more precise + description of the extent and identify clusters of data. + Clients only interested in the overall extent will only need to + access the first item in each array. required: - spatial - temporal @@ -260,9 +266,13 @@ components: bbox: description: |- One or more bounding boxes that describe the spatial extent of the dataset. - In the Core only a single bounding box is supported. Extensions may support - additional areas. If multiple areas are provided, the union of the bounding - boxes describes the spatial extent. + + The first bounding box always describes the overall spatial + extent of the data. All subsequent bounding boxes can be + used to provide a more precise description of the extent and + identify clusters of data. + Clients only interested in the overall spatial extent will + only need to access the first item in each array. type: array minItems: 1 items: @@ -324,10 +334,13 @@ components: interval: description: |- One or more time intervals that describe the temporal extent of the dataset. - The value `null` is supported and indicates an open time intervall. - In the Core only a single time interval is supported. Extensions may support - multiple intervals. If multiple intervals are provided, the union of the - intervals describes the temporal extent. + + The first time interval always describes the overall + temporal extent of the data. All subsequent time intervals + can be used to provide a more precise description of the + extent and identify clusters of data. + Clients only interested in the overall extent will only need + to access the first item in each array. type: array minItems: 1 items: @@ -335,6 +348,8 @@ components: Begin and end times of the time interval. The timestamps are in the coordinate reference system specified in `trs`. By default this is the Gregorian calendar. + + The value `null` is supported and indicates an open time interval. type: array minItems: 2 maxItems: 2