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

Allow timestamp indices in queries #1049

Open
JustinElms opened this issue Jul 28, 2022 · 0 comments
Open

Allow timestamp indices in queries #1049

JustinElms opened this issue Jul 28, 2022 · 0 comments

Comments

@JustinElms
Copy link
Contributor

Priority: low

Is your feature request related to a problem? Please describe.
The Navigator launches with a default dataset configuration that has time = -1. This leads to a number of failed tile queries whenever a user opens the page. This similarly affects users who have to provide a specific timestamp when using the API instead of an index which adds additional steps needed to use the API.

Describe the solution you'd like
I'm sure this has been discuss before but to mitigate this we could add logic that allows the Navigator to accept a timestamp index instead of a specific timestamp value. i.e. -1 would be the most recent timestamp available, 0 the first, etc. This would fix the above problem but also help make the API a little more user friendly. Users could specify an index rather than having to perform a separate query to get the exact timestamp they're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant