Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EO:Bands in the STAC Item properties #12

Closed
pomadchin opened this issue Mar 3, 2022 · 2 comments
Closed

EO:Bands in the STAC Item properties #12

pomadchin opened this issue Mar 3, 2022 · 2 comments

Comments

@pomadchin
Copy link
Member

Would it make sense to make the EO extension requirements a bit softer? Or that was done on purpose, and the idea behind it was only to use it as a union?

I.e. for the use case when there are items with a significant number of bands (~100), but all assets related to this item have the same band specs; with the current spec it will force the eo:bands duplication across all assets of a particular item.

i.e. to allow smth like that:

{
  "type": "Feature",
  // ...
  "assets": {
    "tiff_0": {
      "href": "http://fancy.tiff",
      "roles": [
        "data"
      ],
      "type": "image/tiff; application=geotiff; profile=cloud-optimized"
    },
    // ...
     "tiff_10": {
      "href": "http://fancy10.tiff",
      "roles": [
        "data"
      ],
      "type": "image/tiff; application=geotiff; profile=cloud-optimized"
    }
  },
  "properties": {
    //...
    "eo:bands": [
      {
        "name": "1",
        "center_wavelength": 0.3659136593
      },
      // ...
      {
        "name": "100",
        "center_wavelength": 0.3659136593
      }
    ]
  }
}
@m-mohr
Copy link
Contributor

m-mohr commented Dec 15, 2022

Yes, this was done intentionally, but I'm also not a big fan of the union behavior if all assets have the same bands (which is not the case anymore if you add a thumbnail or metadata asset).

@m-mohr
Copy link
Contributor

m-mohr commented Feb 7, 2023

The new RFC for a new "bands" construct will allow this: radiantearth/stac-spec#1213

@m-mohr m-mohr closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2023
fmigneault-crim pushed a commit to crim-ca/dlm-extension that referenced this issue Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants