Skip to content

Add TiTiler endpoints for zarr datasets#25

Open
turban wants to merge 5 commits intomainfrom
titiler-zarr
Open

Add TiTiler endpoints for zarr datasets#25
turban wants to merge 5 commits intomainfrom
titiler-zarr

Conversation

@turban
Copy link
Copy Markdown
Contributor

@turban turban commented Mar 16, 2026

@turban turban requested review from abyot and karimbahgat March 16, 2026 08:05
@turban turban changed the title Add TiTiler endpoint for zarr datasets Add TiTiler endpoints for zarr datasets Mar 16, 2026
@turban turban requested a review from Copilot March 16, 2026 08:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds TiTiler xarray-backed tile endpoints to eo-api, wiring a new router into the FastAPI app and introducing early-boot PROJ data configuration to avoid CRS/proj.db issues when importing raster tooling.

Changes:

  • Add titiler-xarray (and its transitive deps) to the project dependencies/lockfile.
  • Introduce a tiles package that exposes a TiTiler tiles_router based on xarray/zarr.
  • Configure PROJ data env vars during startup to prefer the active Python environment’s PROJ data.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
pyproject.toml Adds titiler-xarray as an application dependency.
uv.lock Locks titiler-xarray and new transitive deps (e.g., obstore).
src/eo_api/tiles/titiler.py Defines a TiTiler xarray TilerFactory router for zarr/xarray tiling.
src/eo_api/tiles/__init__.py Exports tiles_router for easy import/registration.
src/eo_api/startup.py Adds PROJ env var configuration during early-boot side effects.
src/eo_api/main.py Mounts the new tiles router under /zarr.

You can also share your feedback on Copilot code review. Take the survey.

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.

2 participants