Open anayeaye opened 1 year ago
OK, so I've got this issue pretty well cornered, but there are a couple questions that remain.
First one of the non-trivial properties on the alt asset from the example is 'requester-pays'. Any ideas on this question? https://github.com/developmentseed/titiler/discussions/758
Are there any alternate assets that we might want to support other than 's3'? If so, we'll want to make the path slightly more complex (or else add an appropriate query parameter).
What
Update raster/titiler API to accommodate items that use the alternate assets extension (a common standard used in NASA EarthdataCloud datasets).
Notes
extension docs: stac-extension/alternate-assets
Alternate assets examples https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LE
Detail of a single asset with a login protected https href and an alternate s3 url
07_L2SR_005113_20010116_20200917_02_T2_SR
template/explanation as code: Here are some notes from @vincentsarago about how we can fetch nested alternate asset urls by building a TilerFactory using a custom STACReader
AC