You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a tests for index parameters since its a bit of unclear how that is intended to work:
layer_dependency is a request parameter for tile endpoint - this is part of the titiler-stacapi-mspc factory.py
layer_dependency is of type AssetsBidxExprParams (which inherits both AssetsParams, BidxParams). As such, assets= or expression= is required.
When assets= is passed, those assets are used in tiling
If assets_indexes is passed, the value passed in the request args is then parsed to a dictionary via parse_asset_indexes
indexes could also be passed as part of the BidxParams class and this is used as a fall back
AssetsBidxExprParams is part of titiler core. So the functionality that should be tested here is just that when assets, asset_indexes and indexes are present in the request, they are passed as expected to the Reader.tile method in AssetsReader and not passed at all to the XarrayReader.tile method.
The text was updated successfully, but these errors were encountered:
Add a tests for index parameters since its a bit of unclear how that is intended to work:
tile
endpoint - this is part of the titiler-stacapi-mspc factory.pylayer_dependency
is of typeAssetsBidxExprParams
(which inherits both AssetsParams, BidxParams). As such,assets=
orexpression=
is required.assets=
is passed, those assets are used in tilingassets_indexes
is passed, the value passed in the request args is then parsed to a dictionary via parse_asset_indexesindexes
could also be passed as part of theBidxParams
class and this is used as a fall backAssetsBidxExprParams is part of titiler core. So the functionality that should be tested here is just that when assets, asset_indexes and indexes are present in the request, they are passed as expected to the
Reader.tile
method in AssetsReader and not passed at all to theXarrayReader.tile
method.The text was updated successfully, but these errors were encountered: