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

Enable Cesium to load and display private datasets #2570

Open
robyngit opened this issue Dec 2, 2024 · 0 comments
Open

Enable Cesium to load and display private datasets #2570

robyngit opened this issue Dec 2, 2024 · 0 comments
Labels
cesium DRP Issues related to the Defense Resiliency Platform enhancement pdg Permafrost Discovery Gateway portals Anything related to portals

Comments

@robyngit
Copy link
Member

robyngit commented Dec 2, 2024

Currently must be publicly available on the web in order for it to be displayed in Cesium (or hosted through a Cesium ion account, since the api key can be included in the map config). Some groups need to display geospatial data that is private within private portals. For example, a dataset that's not yet released that's only visible to a select group of editors.

Requests for data go through Cesium, so we should first check if there's a way to include headers along with those requests naively in Cesium. If not, then we may need to add a step to fetch the data before passing it to Cesium.

We need to also consider how to fetch images that are private and displayed in the feature info panel (like the thumbnails shown in the PDG portal LEO network layer).

When a user does not have access to data, MetacatUI should handle this gracefully, and suggest they log in if not already, or show a user-friendly message explaining that the data is private.

@robyngit robyngit added enhancement portals Anything related to portals pdg Permafrost Discovery Gateway cesium DRP Issues related to the Defense Resiliency Platform labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesium DRP Issues related to the Defense Resiliency Platform enhancement pdg Permafrost Discovery Gateway portals Anything related to portals
Projects
None yet
Development

No branches or pull requests

1 participant