developmentseed / developmentseed/eoapi-devseed
[STAC] Inject `titiler` links in collections/Items/search
- 主要言語
- HTML
- スター
- 15
- フォーク
- 4
- 平均マージ
- 6日 11時間
- マージ済み PR(30日)
- 5
説明
After #26 we will have the full `Client` customized, meaning that it will be `easy` to change the `Links` Models (https://github.com/stac-utils/stac-fastapi-pgstac/blob/main/stac_fastapi/pgstac/models/links.py)
e.g
```python
from stac_fastapi.pgstac.models import links
@attr.s
class CollectionLinks(links.CollectionLinks):
def link_titiler(self) -> Dict:
"""Create the `titiler` link."""
return {
"rel": Relations.data.value,
"href": f"{settings.titiler_endpoint}/collections/{self.collection_id}/tiles",
}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
stac_fastapi/pgstac/models/links.py から始め、#26 で説明されている Client のカスタマイズを確認します。collection、Item、search のリンクがどのように組み立てられているかを追跡し、それぞれに適切な titiler エンドポイントリンクが含まれていること、および生成された hrefs が issue の collection の例と一致することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100