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

OGCSources enhanced temporal support #352

Merged
merged 7 commits into from
Apr 1, 2021

Conversation

pomadchin
Copy link
Member

@pomadchin pomadchin commented Mar 30, 2021

Overview

This PR adds configuration option to fetch data from the CollectionSummary (that is the default behavior now)

Demo

WCS Temporal Intervals support:

wcs

WMS Temporal Intervals support:

wms

Checklist

  • Description of PR is in an appropriate section of the CHANGELOG and grouped with similar changes if possible

Closes #347
Closes #325
Closes #324

@pomadchin pomadchin changed the title STAC OgcSources enchanced temporal support STAC OgcSources enhanced temporal support Mar 30, 2021
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from 2a3bec4 to c5015a3 Compare March 30, 2021 21:48
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from c5015a3 to c209c7a Compare March 30, 2021 21:50
@pomadchin pomadchin requested a review from jisantuc March 31, 2021 00:57
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from fe5de1f to 10a5205 Compare March 31, 2021 16:21
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from 10a5205 to efc0f41 Compare March 31, 2021 16:23
@pomadchin pomadchin changed the title STAC OgcSources enhanced temporal support OGCSources enhanced temporal support Mar 31, 2021
Copy link
Contributor

@jisantuc jisantuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is just a formatting change, but I wish we had scapegoat / scalastyle / something that would tell us when we could just whateverOption.fold

@jisantuc
Copy link
Contributor

Ugh ignore that comment it was supposed to be on a line but I presed the wrong buttons

Copy link
Contributor

@jisantuc jisantuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you give me some suggestions for what I'm supposed to test?

@pomadchin
Copy link
Member Author

@jisantuc this PR introduces two new configuration options:

compute-time-positions = true / false // optional param
time-format = "interval / periods / self" // optional param

To test it you'd need to run gt server and to add these params to any of the (temporal) layers to see how it behaves.
The only real temporal layers are STAC layers, do you'd need to ingest this catalog and to run franklin.

But I can show you this demo later / I'll definitely show it on the meeting later next week. :D

@jisantuc
Copy link
Contributor

Can you demo to me tomorrow afternoon? Things on GitHub I need to remember to look at later stress me out

@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch 2 times, most recently from 9c83994 to 58b7fb7 Compare April 1, 2021 00:49
… ignore-time. Fix a incorrect OgcTime Duration computaions and parsing.
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from 58b7fb7 to 73f29f0 Compare April 1, 2021 00:58
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch 3 times, most recently from 73ba796 to 65cddbd Compare April 1, 2021 16:18
@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from 65cddbd to e741f46 Compare April 1, 2021 16:21
@pomadchin pomadchin requested a review from jisantuc April 1, 2021 20:43
@@ -24,7 +24,7 @@ import java.time.ZonedDateTime
import scala.util.Try

sealed trait OgcTimeDefault {
lazy val name: String = getClass.getName.split("\\.").last.toLowerCase
lazy val name: String = getClass.getName.split("\\$").last.toLowerCase
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case objects inside the object :/

@pomadchin pomadchin force-pushed the feature/enchanced-temporal-support branch from 682b11a to 4481d99 Compare April 1, 2021 20:52
@pomadchin pomadchin merged commit cd9b4ca into develop Apr 1, 2021
@pomadchin pomadchin deleted the feature/enchanced-temporal-support branch April 1, 2021 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants