developmentseed / developmentseed/eoapi-devseed
[STAC] Inject `titiler` links in collections/Items/search
- Lenguaje dominante
- HTML
- Estrellas
- 15
- Forks
- 4
- Merge medio
- 6 d 11 h
- PR fusionados (30 d)
- 5
Descripción
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",
}
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza por stac_fastapi/pgstac/models/links.py y revisa la personalización de Client descrita en #26. Rastrea cómo se ensamblan los enlaces de collection, Item y búsqueda, y verifica después que cada uno incluya el enlace al endpoint de titiler correspondiente y que los hrefs resultantes coincidan con el ejemplo de collection del issue.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api, backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100