Skip to content

Commit

Permalink
update titiler requirements and add stac-api endpoint url in landing …
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
vincentsarago committed Mar 26, 2024
1 parent 0a558ad commit ab38a5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ classifiers = [
]
dependencies = [
"orjson",
"titiler.core>=0.17.0,<0.18",
"titiler.mosaic>=0.17.0,<0.18",
"titiler.core>=0.17.0,<0.19",
"titiler.mosaic>=0.17.0,<0.19",
"pystac-client",
"pydantic>=2.4,<3.0",
"pydantic-settings~=2.0",
Expand Down
6 changes: 6 additions & 0 deletions titiler/stacapi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ def landing(
type=MediaType.html,
rel="service-doc",
),
models.Link(
title="STAC-API endpoint (external link)",
href=request.app.state.stac_url,
type=MediaType.json,
rel="data",
),
models.Link(
title="TiTiler-STACAPI Documentation (external link)",
href="https://developmentseed.org/titiler-stacapi/",
Expand Down

0 comments on commit ab38a5e

Please sign in to comment.