Skip to content

Fix: include tileMatrixSetId in STAC Item map links [Impacted by v13.0.0-patch.1 decisions] #494

@anayeaye

Description

@anayeaye

What

Update dynamically rendered titiler map links to include required. tile matrix set id.

Notes

href = urljoin(
            self.tiler_href, f"collections/{collection_id}/items/{item_id}/map?{qs}"
        )

should be

href = urljoin(
            self.tiler_href, f"collections/{collection_id}/items/{item_id}/WebMercatorQuad/map?{qs}"
        )

in stac_api/runtime/src/links.py https://github.com/NASA-IMPACT/veda-backend/blob/v13.0.0-patch.1/stac_api/runtime/src/links.py#L54

Titiler core changelog

https://github.com/developmentseed/titiler/blob/main/CHANGES.md#misc-4

AC

  • item map links work
  • item preview links work (when this ticket was created, previews worked as they are but may later require a tileMatrixSetId parameter

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions