titiler.mosaic
Adds support for Mosaic in Titiler. Mosaic's backend needs to be built on top of rio-tiler's Mosaic Backend https://cogeotiff.github.io/rio-tiler/advanced/mosaic_backend/
Installation
python -m pip install -U pip
# From Pypi
python -m pip install titiler.mosaic
# Or from sources
git clone https://github.com/developmentseed/titiler.git
cd titiler && python -m pip install -e src/titiler/core -e src/titiler/mosaic
# install cogeo-mosaic for MosaicJSON support
python -m pip install cogeo-mosaic
How To
from fastapi import FastAPI
from titiler.mosaic.factory import MosaicTilerFactory
from cogeo_mosaic.backends import MosaicBackend
# Create a FastAPI application
app = FastAPI(
description="A Mosaic tile server",
)
# Create a set of Mosaic endpoints using MosaicJSON backend from cogeo-mosaic project
mosaic = MosaicTilerFactory(backend=MosaicBackend)
# Register the Mosaic endpoints to the application
app.include_router(mosaic.router, tags=["MosaicJSON"])
Package structure
titiler/
└── mosaic/
├── tests/ - Tests suite
└── titiler/mosaic/ - `mosaic` namespace package
├── models/
| └── responses.py - mosaic response models
├── errors.py - mosaic known errors
├── extensions.py - extensions
└── factory.py - Mosaic endpoints factory
Metadata
Release files for titiler-mosaic 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| titiler_mosaic-2.4.0.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| titiler_mosaic-2.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.6 kB
Release files / titiler_mosaic-2.4.0.tar.gz
| Download URL | titiler_mosaic-2.4.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a61058ebb792b33ba70a46f68c8f05def90621ad9f0fa936bf9f0b542b7771e
|
|
BLAKE2b-256 checksum How to use checksums |
7e157f4e0bdfa306c98a008f256b39b242cacd0b0abd404e0cabe2fe01b0fa04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / titiler_mosaic-2.4.0-py3-none-any.whl
| Download URL | titiler_mosaic-2.4.0-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecc0cc1931a5c9a54ee05db9232c4612b0675fc7ebed96526b326bf359463e8a
|
|
BLAKE2b-256 checksum How to use checksums |
1f8410eeb90deb261d8dd88d5f19287ff9e613fc81a6d474de5f722cb2d09676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency log