forked from developmentseed/titiler-stacapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
tileendpoint - this is part of the titiler-stacapi-mspc factory.py layer_dependencyis of typeAssetsBidxExprParams(which inherits both AssetsParams, BidxParams). As such,assets=orexpression=is required.- When
assets=is passed, those assets are used in tiling - If
assets_indexesis passed, the value passed in the request args is then parsed to a dictionary via parse_asset_indexes indexescould also be passed as part of theBidxParamsclass 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.
Metadata
Metadata
Assignees
Labels
No labels