Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

titiler_mosaic-2.2.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

titiler_mosaic-2.2.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file titiler_mosaic-2.2.1.tar.gz.

File metadata

  • Download URL: titiler_mosaic-2.2.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for titiler_mosaic-2.2.1.tar.gz
Algorithm Hash digest
SHA256 fccf7f502585b8584dd900e4db92f46be8594aea8cc47cfa56309b0c919eb3ec
MD5 f126188c284422475d57658c15664a1d
BLAKE2b-256 ea5acc85707662366933e97a11994776e65bc17ad34f0306107afc55f8e6680f

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_mosaic-2.2.1.tar.gz:

Publisher: release.yml on developmentseed/titiler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file titiler_mosaic-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: titiler_mosaic-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for titiler_mosaic-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e27630e6d5e3e3485faf8197ae7b5e064d540e0636a40dd4e8adb783c363ef0
MD5 81ce91d9d3a607e05c3fecdab187bd11
BLAKE2b-256 ca651d52eb7c0eca189feffd2a4787e231743f775e6fe4fc29b36e57f2a9b710

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_mosaic-2.2.1-py3-none-any.whl:

Publisher: release.yml on developmentseed/titiler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page