radiantearth / stac-spec

SpatioTemporal Asset Catalog specification - making geospatial assets openly searchable and crawlable
https://stacspec.org
Apache License 2.0
777 stars 178 forks source link

STAC representation of licenses with a choice of license #1174

Closed schwehr closed 1 year ago

schwehr commented 2 years ago

Hi all,

There are a number of data products around that give the user a choice between two or more licenses as the users discretion. One option is to just pick one for a STAC Collection or STAC Item, but it would be better if we had some way to express that choice. This is different than the case where multiple licenses all apply to the data.

e.g. some datasets say pick either CC-BY-SA-4.0 or ODbL-1.0

I was thinking that the hoster of the STAC catalog could pick a default and then have a second field that gives a list license options.

m-mohr commented 2 years ago

You can use the license type "various" and provide multiple links with the relation type "license" (and title).

We had SPDX expressions in the spec previously, but that only worked for SPDX licenses and was quite complex. So I think the way of using links and, if required, giving additional information in the description should also work.

schwehr commented 2 years ago

That doesn't make search very easy.

m-mohr commented 2 years ago

Depends on the implementation, I guess. But that's what you can do with core STAC right now. If you need more, you'd need to write a STAC extension that gives you more flexibility (assuming 1.0.0 stays as it is for the next year at least).

m-mohr commented 1 year ago

See also #1178