stac-extensions/projection

projection extension scope in Collection?

emmanuelmathot opened this issue · 3 comments

Context

  • The scope of the extensions defines where the extensions fields can be found.
  • Implicitly, all item fields could be summarized in collection (Assumption)

Questions

Does the scope define a strict limitation of where the field can be found?

Clarification is needed for the implementation of the helpers methods in the libraries implementing STAC spec and extensions.

It's "no". This is an oversight on our side, we should've added the scope Collection here. I added it now, which is just a bug fix as the schemas already support validating in collection assets and item asset definitions.

Validating the summaries is a weak point though. Due to the different structures the summaries have (array and stats object), the fields can't be validated (yet?). So the stac_extensions flag doesn't really apply for summaries and extensions, but only really applies to assets / item_assets in Collections.

See also radiantearth/stac-spec#1077 for some more context and a change I'd like to propose.

yes indeed, I am reviewing radiantearth/stac-spec#1078 that helps me to understand how it is applied.