stac-spec icon indicating copy to clipboard operation
stac-spec copied to clipboard

Extend common metadata

Open m-mohr opened this issue 3 years ago • 3 comments

We've already made license and providers common metadata, but there are a couple more things that we could add there so that they get more "common".

  • Primarily, keywords from the Collection spec is general enough and could be useful elsewhere.
  • A potential new bands field could replace eo:bands/raster:bands.
  • We could also look at some of the prefix-less fields from the timestamps and version extensions.

m-mohr avatar Sep 09 '22 19:09 m-mohr

@m-mohr emphasizing from prior discussion on Slack that Common Metadata get applied to Catalog objects as well, particularly keywords, created, updated.

KennSmithDS avatar Sep 09 '22 23:09 KennSmithDS

Totally agree with all the propositions. We could make separate PRs to propose and decide for each of them? I already did the work for keywords in this extension proposal: https://github.com/stac-extensions/subjects

emmanuelmathot avatar Sep 16 '22 07:09 emmanuelmathot

Yes, we can sure go on a 1:1 basis. Keywords is meant to stay free-form without vocabulary though so I still think there's value in the subjects extension (although potentially aligned with OGC APIs).

For OGC APIs we also discussed (and agreed on) having created and updated in links as they don't have assets.

m-mohr avatar Sep 16 '22 08:09 m-mohr

could you please consider this? https://github.com/radiantearth/stac-spec/issues/1190

p1d1d1 avatar Oct 18 '22 12:10 p1d1d1

keywords: Wait for #1199 to be merged, then we can PR it into common metadata and directly remove keywords from the collection schema, too.

language is now part of the langauge extension: https://github.com/stac-extensions/language

m-mohr avatar Jan 05 '23 11:01 m-mohr

The scope of this issue has been updated to the remaining issue: adding keywords to common metadata.

Update determined during STAC Working Session April 4, 2023.

PowerChell avatar Apr 04 '23 17:04 PowerChell

keywords: Wait for #1199 to be merged, then we can PR it into common metadata and directly remove keywords from the collection schema, too.

#1199 is not a PR. I dont find one that covers the keywords integration in common metadata

emmanuelmathot avatar Apr 13 '23 09:04 emmanuelmathot

Yeah, the reference is off. I need to create a new PR for keywords.

m-mohr avatar Apr 13 '23 09:04 m-mohr

ok. I can help with that if needed.

emmanuelmathot avatar Apr 13 '23 09:04 emmanuelmathot

@emmanuelmathot Great, happy to review the PR.

I guess it's relatively simple, just add keywords to the Basics category: https://github.com/radiantearth/stac-spec/blob/master/item-spec/common-metadata.md#basics Update JSON Schema (move from Collection to common metadata and reference it from the Collection).

m-mohr avatar Apr 13 '23 09:04 m-mohr