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

All datasets should start zoomed in on CONUS in exploration #21

Closed
1 task
j08lue opened this issue Jul 24, 2023 · 2 comments
Closed
1 task

All datasets should start zoomed in on CONUS in exploration #21

j08lue opened this issue Jul 24, 2023 · 2 comments
Assignees

Comments

@j08lue
Copy link
Collaborator

j08lue commented Jul 24, 2023

We expect the focus of the U.S. GHG Center users always to be on contiguous United States (CONUS).

Therefore, all dataset views in the exploration should start zoomed in on the CONUS region (or narrower), even if the dataset has larger / global extent.

Currently, most datasets start on global extent. Does this setting come from STAC or MDX dataset config files? Do the dataset config files already support overriding the initial extent / bounding box / center + zoom level?

Acceptance criteria

  • All datasets that cover CONUS or parts of it start zoomed in on that
@danielfdsilva
Copy link
Collaborator

The zoom is set based on the dataset extend from the STAC record.

For example, the Methane emissions datasets, have a CONUS extent and are zoomed in upon load.

It is currently not possible to override the initial bounding box, but it is something that could be explored.

The map position is first derived from the url (this need be for sharing purposes), and if there isn't a position set, we use the value from the STAC record. An implementation option would be to check for a default bounding box (set on the dataset file) instead of STAC, and only default to the latter if the dataset file doesn't have anything set.

@j08lue
Copy link
Collaborator Author

j08lue commented Jul 25, 2023

An implementation option would be to check for a default bounding box (set on the dataset file) instead of STAC, and only default to the latter if the dataset file doesn't have anything set.

That would be great and a valuable feature enabling users to explore data in the right context for the particular instance / thematic context.

We discussed just today that we should keep the Exploration & Analysis rather generic - less context-heavy - but this particular feature would still be within scope, I think.

So please go forward with implementing that override, @danielfdsilva (pls feel free to delegate).

danielfdsilva added a commit to NASA-IMPACT/veda-ui that referenced this issue Jul 27, 2023
@danielfdsilva danielfdsilva self-assigned this Jul 27, 2023
danielfdsilva added a commit to NASA-IMPACT/veda-ui that referenced this issue Aug 11, 2023
# Changelog

## 🎉 Features
- MDX Table component for external files
(US-GHG-Center/veda-config-ghg#16)
- Allow user to define dataset bounds
(US-GHG-Center/veda-config-ghg#21)
- MDX embed block
(NASA-IMPACT/veda-architecture#308)

## 🚀 Improvements
- Improve display of units in map legend
(#599)

## 🐛 Fixes
- 🦗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants