Closed philvarner closed 3 years ago
@philvarner 😭 we just updated a rio-tiler and cogeo-mosaic last week, I'm sorry for the trouble. I'll have a look at the PR as soon as I can!
I think we can close this in favor of using https://github.com/NASA-IMPACT/titiler/ for mosaic management and tiling right @philvarner ?
Issue: https://github.com/MAAP-Project/ZenHub/issues/339
Deployed to https://qnz86q6bnb.execute-api.us-east-1.amazonaws.com/v1/mosaics
A request like this, containing a
stac_api_root
, ausername
, and the same parameters as accepted by the STAC API Item Search endpoint (/search
):will generate a mosaicjson endpoint and return a body with a Link to the tilejson for it:
This endpoint depends on cogeo-mosaic, which needs a newer version of rio-tiler (~=2.1.0) than dashboard api (2.0a.11). There are several incompatibilities between dashboard and rio-tiler >= 2.0.0, due to methods being removed in rio-tiler in 2.0.0 final that existed in the alphas. 🤷🏻 This shouldn't take but a few hours to fix, and it would be good in general to get rio-tiler upgraded.
This necessitated that the code be packaged separately and use a different setup.py, hence it all being a subdirectory.
Ideally, we could update dashboard api to use a newer rio-tiler and just incorporate all of this code for the mosaic_api as another endpoint in dashboard api. Another option would be to move dashboard_api into sibling directory to mosaic_api instead of being in a parent of it.
Remaining Issues: