-
Couldn't load subscription status.
- Fork 29
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
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
eoAPI/runtime/eoapi/raster/eoapi/raster/templates/mosaic-builder.html
Lines 451 to 469 in 3dd87b8
| 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
- item-assets ( https://github.com/stac-extensions/item-assets)
Items
- eo
- projection
- alternate-assets
- ?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation