MAAP-Project / stac_ipyleaflet

Apache License 2.0
29 stars 2 forks source link

Filtering of COG Capable Data #87

Open wildintellect opened 1 year ago

wildintellect commented 1 year ago

Description

75 added a filter to the STAC selection to by default only list Collections that have COGs. While it works it relies on item_assests being empty, which in itself is an error on the data loading of the STAC records.

image https://stac.maap-project.org/collections/Global_Forest_Change_2000-2017

Long term, the presence of MediaType=COG within any Asset is actually what we need to filter on (and gives us the option to add other Media types later)

image https://stac.maap-project.org/collections/NCEO_Africa_AGB_100m_2017

Stac Browser seems to have this feature, so we can look into it's implementation image

Acceptance Criteria