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

time property considerations #56

Open
tomkralidis opened this issue Jun 29, 2022 · 4 comments
Open

time property considerations #56

tomkralidis opened this issue Jun 29, 2022 · 4 comments
Labels
waiting for input An issue that needs to be resolved before Part 1 is finalized

Comments

@tomkralidis
Copy link

Following discussion in opengeospatial/ogcapi-records#168, for cconsideration?

Changing time to datetime

  • datetime is a parameter from OGC API Common
  • many OGC APIs already support the datetime parameter, per RFC3339
  • JSON Schema delineates date, time, date-time, for example
    • so do many programming languages
  • time COULD result in confusion (emitting JUST the time with no date?)

Adding resolution

@tomkralidis
Copy link
Author

tomkralidis commented Jun 30, 2022

Examples:

  "datetime": {
    "timestamp": "2021-10-30"
  }
  "datetime": {
    "interval": ["2021-01-01", "2021-12-31"],
    "resolution": "P1D"
  }

@cportele
Copy link
Member

Meeting 2022-07-11:

  • time -> datetime: We understand where this comes from, but the reason for using "time" was to use a general term that is understood as "temporal information". "datetime" can be misleading (if you get a date) as can be "time" (if one is surprised to get a date). In general we tend to stick to "time", because of it being the more general term.
  • resolution: Currently it is only used in an example in Records? It would be good to understand first how it is defined and how/why this is useful in data. @tomkralidis - can you provide more information? Maybe it would make sense to discuss it in Records first and then see, what we do in JSON-FG?

@cportele
Copy link
Member

OGC Code Sprint 2022-09-15:

  • when would have be an intuitive and not-technical name for the member, but we want to avoid the name conflict. For now, time seems to be better than datetime for the reasons mentioned above, but we will see what feedback we will receive.
  • resolution: Communities can extend JSON-FG and Records and if community extensions are widely used we can discuss including them in the standard (or an extension). For now it seems reasonable to restrict the scope to the most important use cases (instant and interval).

@cportele
Copy link
Member

Meeting 2022-11-14: We will move this to waiting for feedback for now. In general, we could also close the issue for version 1.0.

@cportele cportele added the waiting for input An issue that needs to be resolved before Part 1 is finalized label Jan 8, 2024
@cportele cportele moved this to Waiting for input in JSON-FG Part 1 Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for input An issue that needs to be resolved before Part 1 is finalized
Projects
Status: Waiting for input
Development

No branches or pull requests

2 participants