Skip to content

Conversation

@vincentsarago
Copy link
Member

@vincentsarago vincentsarago commented Dec 2, 2025

ref: developmentseed/titiler#1279

Huge refactor, will need proper documentation

closes #40



@attr.s
class CustomSTACReader(MultiBaseReader):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved and renamed to titiler.stacapi.reader.SimpleSTACReader

"""Post Init."""
self.input = self.url
if bbox := self.input.get("bbox"):
self.bounds = tuple(bbox)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having search in the backend construction enable bounds definition for the mosaic

retry_config = RetrySettings()


def accept_media_type(accept: str, mediatypes: List[MediaType]) -> Optional[MediaType]:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now in titiler.core

datetime=datetime,
filter_expr=filter_expr,
filter_lang=filter_lang,
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a lot of code duplication between SearchParams and CollectionSearch because we don't support sub-dependencies in get_dependant_params` 😬

"media_type": tile_format.mediatype,
},
media_type="application/xml",
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 in titiler-mosaic now

@vincentsarago vincentsarago changed the title prepare for next titiler release Update for titiler 1.0 Jan 6, 2026
## [Unreleased]

* update titiler requirements to `>=1.0,<1.1`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: reference all the changes

api:
# At the time of writing, rasterio wheels are not available for arm64 arch
# so we force the image to be built with linux/amd64
platform: linux/amd64
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for recent update of rasterio



@attr.s
class STACAPIBackend(BaseBackend):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we now use the base backend from rio-tiler (not cogeo-mosaic)

@vincentsarago vincentsarago marked this pull request as ready for review January 6, 2026 13:48
@vincentsarago
Copy link
Member Author

@jverrydt would you be able to test this branch before I merge?

The endpoints haven't changed much:

  • removed /collections/{collectionId}/tiles/{tileMatrixSetId}/WMTSCapabilities.xml
  • removed /collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/WMTSCapabilities.xml
  • added filter/filter-lang/sortby parameters to /collections/{collectionId} endpoints
  • renamed /map to /map.html

I'll document all the changes, some are documented over https://developmentseed.org/titiler/migrations/v1_migration/#point-endpoint-response-model

@jverrydt
Copy link
Contributor

jverrydt commented Jan 9, 2026

@vincentsarago It's ok to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update to titiler 1.0

3 participants