Skip to main content

cogeo-mosaic (MosaicJSON) plugin for TiTiler.

Project description

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

Project details


Release history Release notifications | RSS feed

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.0.5.tar.gz (15.0 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.0.5-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler_mosaic-2.0.5.tar.gz
  • Upload date:
  • Size: 15.0 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.0.5.tar.gz
Algorithm Hash digest
SHA256 cbed8daa83f31552d058657a97862a62d0f7d0592564312d6bd02b23e6f9d18a
MD5 1e5a3117a10223d20c871f78c8c524b5
BLAKE2b-256 63b8aef318f04c77c75855cb73c25d1cdf35b16ca85fcda94fde43016fcaf94e

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_mosaic-2.0.5.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.0.5-py3-none-any.whl.

File metadata

  • Download URL: titiler_mosaic-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f5264ea1a7993e8ddcb2e9548c5a34ab0dc3dde6142dd1d83675e6a64c5a9d54
MD5 ac81934344e50cca94c563b23a5a3c10
BLAKE2b-256 2a794c4f7f829ad11055c6ab50e104c4bf08c46be7d97308aa13113082fbcf1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for titiler_mosaic-2.0.5-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.

Supported by

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