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

add recommendations about STAC Items/Collections extensions #107

Open
vincentsarago opened this issue Jun 26, 2023 · 0 comments
Open

add recommendations about STAC Items/Collections extensions #107

vincentsarago opened this issue Jun 26, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@vincentsarago
Copy link
Member

in vincentsarago/MAXAR_opendata_to_pgstac#2 I've added the item-assets extension to the collections and then I'm using it (if available) in the mosaic-builder

if (collection_metadata && collection_metadata.item_assets) {
var tbl = document.createElement("table");
tbl.classList = ["mt6"];
tbl.style.width = '100%';
var row = tbl.insertRow(-1);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = "Asset";
cell2.innerHTML = "Type"
for (let asset_name in collection_metadata.item_assets) {
var row = tbl.insertRow(-1);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = asset_name;
cell2.innerHTML = collection_metadata.item_assets[asset_name].type;
}
collection_meta.appendChild(tbl)

Collections

Items

  • eo
  • projection
  • alternate-assets
  • ?
@vincentsarago vincentsarago added bug Something isn't working documentation Improvements or additions to documentation and removed bug Something isn't working labels Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant