-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add thumbnail assets to production collections #143
Comments
@j08lue I think the fastest way for us to add thumbnails to our catalog is to just use the mdx thumbnails which means we will have many duplicated tiles in our browser. It also means we don't have anything as a placeholder for the landsat lakes/glaciers collections but IIRC we had thumbnails for those at one point. Do you recall where those are (maybe git history?) and do you think the duplicates will be OK? |
Thumbnails from the Dashboard config are fine, @anayeaye. I do not think we had thumbnails for the Landsat collections, so I created some. Sizes / aspect ratios are unfortunately not consistent. Please crop and/or resample them, if need be. No worries if parts of the lakes or so get cut off.
|
Should we generally name the thumbnails after the collection ID? |
stac-spec + thumbnail attribution We haven't yet planned how to handle attribution for the thumbnails we are using. Veda-config handles attribution in the dataset mdx file (example).
stac catalog
|
I've added thumbnails to all the production collection metadata in PR #145 and published to https://test.openveda.cloud/ 🚀 |
What
We now have a bucket in MCP
s3://veda-thumbnails
that is publicly accessible via cloudfronthttps://thumbnails.openveda.cloud/
. Update production collection metadata to include these thumbnails as assets to improve the browser experience.Parent issues
#124 #122
Notes
For a first pass at improving our browser experience we can use exactly the same thumbnails that are configured in the dashboard for our STAC collections. The thumbnails from veda-config/datasets have already been copied to the thumbnail bucket but the thumbnails in eic-config have not (there is a large amount of overlap, probably only the climdex-* thumbnails need to be copied to the thumbnail bucket.
For a collection in s3, you can identify the dataset name by searching the collection id in veda-config and using the data.mdx file to identify the appropriate thumbnail. Veda-config groups datasets so in this first pass some of our collections will have duplicate thumbnails.
Config mdx example
For the hls-events.ej.data.mdx configuration, the thumbnail
hls-events-ej--dataset-cover.png
is located in media attributes.STAC Collection metadata example
Thumbnail objects are added to the
assets
property of a collection with the keythumbnail
. If a collection does not already have an assets. See https://test.openveda.cloud/api/stac/collections/hls-l30-002-ej-reprocessed for an example of a collection with a thumbnail asset.veda-configs
AC
s3://veda-thumbnails
s3://veda-thumbnails
landsat-c2l2-sr-*
thumbnails identifieds3://veda-thumbnails
The text was updated successfully, but these errors were encountered: