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.
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)
Stac Browser seems to have this feature, so we can look into it's implementation
Acceptance Criteria
[ ] Upgrade the filtering to check Asset MediaTypes on the Collection to determine if it should be shown to users. COG being the first format supported.
[ ] Make sure to make adding additional types to the filter is possible. (e.g. GeoJson, Flatgeobuf might be added fairly soon)
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.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)
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
Acceptance Criteria