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

Fix #54 #69

Merged
merged 1 commit into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions STAC-extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ components:
type: object
properties:
datetime:
$ref: '#/components/schemas/datetime'
$ref: '#/components/schemas/datetime_interval'
intersectsFilter:
type: object
description: Only returns items that intersect with the provided polygon.
Expand All @@ -1603,22 +1603,45 @@ components:
$ref: '#/components/schemas/collectionsArray'
datetime:
type: string
description: |-
format: date-time
nullable: true
description: >-
The searchable date and time of the assets, in UTC.

It is formatted according to [RFC 3339, section
5.6](https://tools.ietf.org/html/rfc3339#section-5.6).

`null` is allowed, but requires `start_datetime` and `end_datetime` from
common metadata to be set.
example: '2018-02-12T00:00:00Z'
datetime_interval:
type: string
description: >-
Either a date-time or an interval, open or closed. Date and time
expressions adhere to RFC 3339. Open intervals are expressed using
double-dots.
expressions

adhere to RFC 3339. Open intervals are expressed using double-dots.


Examples:


* A date-time: "2018-02-12T23:20:50Z"

* A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z"

* Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z"


Only features that have a temporal property that intersects the value of

`datetime` are selected.


If a feature has multiple temporal properties, it is the decision of the

server whether only a single temporal property is used to determine

the extent or all relevant temporal properties.
example: '2018-02-12T00:00:00Z/2018-03-18T12:31:12Z'
stac_version:
Expand Down
31 changes: 27 additions & 4 deletions STAC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ components:
type: object
properties:
datetime:
$ref: '#/components/schemas/datetime'
$ref: '#/components/schemas/datetime_interval'
intersectsFilter:
type: object
description: Only returns items that intersect with the provided polygon.
Expand All @@ -1306,22 +1306,45 @@ components:
$ref: '#/components/schemas/collectionsArray'
datetime:
type: string
description: |-
format: date-time
nullable: true
description: >-
The searchable date and time of the assets, in UTC.

It is formatted according to [RFC 3339, section
5.6](https://tools.ietf.org/html/rfc3339#section-5.6).

`null` is allowed, but requires `start_datetime` and `end_datetime` from
common metadata to be set.
example: '2018-02-12T00:00:00Z'
datetime_interval:
type: string
description: >-
Either a date-time or an interval, open or closed. Date and time
expressions adhere to RFC 3339. Open intervals are expressed using
double-dots.
expressions

adhere to RFC 3339. Open intervals are expressed using double-dots.


Examples:


* A date-time: "2018-02-12T23:20:50Z"

* A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z"

* Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z"


Only features that have a temporal property that intersects the value of

`datetime` are selected.


If a feature has multiple temporal properties, it is the decision of the

server whether only a single temporal property is used to determine

the extent or all relevant temporal properties.
example: '2018-02-12T00:00:00Z/2018-03-18T12:31:12Z'
stac_version:
Expand Down
17 changes: 12 additions & 5 deletions openapi/STAC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ components:
type: object
properties:
datetime:
$ref: '#/components/schemas/datetime'
$ref: '#/components/schemas/datetime_interval'
intersectsFilter:
type: object
description: Only returns items that intersect with the provided polygon.
Expand All @@ -625,13 +625,20 @@ components:
properties:
collections:
$ref: '#/components/schemas/collectionsArray'
# - OAFeat.yaml#/components/parameters/datetime
datetime:
type: string
format: date-time
nullable: true
description: |-
The searchable date and time of the assets, in UTC.
It is formatted according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6).
`null` is allowed, but requires `start_datetime` and `end_datetime` from common metadata to be set.
example: '2018-02-12T00:00:00Z'
datetime_interval:
type: string
description: |-
Either a date-time or an interval, open or closed. Date and time
expressions adhere to RFC 3339. Open intervals are expressed using
double-dots.
Either a date-time or an interval, open or closed. Date and time expressions
adhere to RFC 3339. Open intervals are expressed using double-dots.

Examples:

Expand Down