Closed drnextgis closed 3 years ago
{"detail":"assets must be defined either via expression or assets options."}
well for STAC in order to have a valid tiles url you HAVE TO pass assets={you stac asset}
option
The thing is I don't see the corresponding parameter here:
Yes it's kinda complex because in TiTiler you can define asset
using either assets=
or expression=
https://developmentseed.org/titiler/endpoints/stac/#tilesjson
It's a design choice we made in TiTiler and sadly I'm not aware of a solution to bring this info in openapi spec
Oh I see now, that's on the STAC part which redirect to the raster endpoint. Because we didn't wanted to add titiler as a dependency I was lazy and did not add the dependency
here https://github.com/developmentseed/eoAPI/blob/master/src/eoapi/stac/eoapi/stac/extension.py#L52 as we have in titiler https://github.com/developmentseed/titiler/blob/master/src/titiler/core/titiler/core/factory.py#L399-L403
I'm going to re-open because there is a simple fix to this but please be more descriptive in the issue next time 🙏