-
Notifications
You must be signed in to change notification settings - Fork 180
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
Time ranges and the "datetime" field #613
Comments
There are some cases where all 3 dates are needed. For instance, you might have a range of datetimes for some data, but there is also a I think |
That's why I wrote:
Why always require a center time though? |
We'll move datetime-range extension to core, remove the prefix. |
It still feels that by requiring a single instance in time we are moving a server implementation issue to the spec. I've now seen this another time in the PR for Tiled Assets #614 that the datetime just doesn't seem properly used where a datetime range would be more applicable. And there are so many more use cases (timeseries, videos, mosaics, ...). |
Recent discussions lead to the idea to allow |
Will probably be tackled by #792 |
For time ranges we have the datetime-range extension. Unfortunately, it is not clear what to set for the required
datetime
field in a STAC Item. Should it be the first date-time? Should it be some kind of a middle value?This issue appears often for the SAR extension/DAR data, videos and timeseries bundled in a single asset.
As I feel the datetime field is somewhat limited or not clearly specified for quite a good amount of data, I'd propose to make the datetime-range extension core and to require either a single datetime in the datetime field or a range with the start_datetime and end_datetime fields. Both could also be used together.
We can easily validate this using JSON schema (anyOf).
What do others think?
The text was updated successfully, but these errors were encountered: