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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file titiler_mosaic-2.0.2.tar.gz.
File metadata
- Download URL: titiler_mosaic-2.0.2.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d8e760db4c20f74c3d2698d4cc7c586ae01f6b4130b5dc04cfe22764433e1f8
|
|
| MD5 |
b2421c01de352e8ad925feb2663b61bf
|
|
| BLAKE2b-256 |
d24c6524b926774271edf4ec2b07192d939e642901d46207b2de700191269ee6
|
Provenance
The following attestation bundles were made for titiler_mosaic-2.0.2.tar.gz:
Publisher:
release.yml on developmentseed/titiler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
titiler_mosaic-2.0.2.tar.gz -
Subject digest:
6d8e760db4c20f74c3d2698d4cc7c586ae01f6b4130b5dc04cfe22764433e1f8 - Sigstore transparency entry: 1396362015
- Sigstore integration time:
-
Permalink:
developmentseed/titiler@02534bd14952a3011b24aa9e915cdc0c402b74e4 -
Branch / Tag:
refs/tags/2.0.2 - Owner: https://github.com/developmentseed
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02534bd14952a3011b24aa9e915cdc0c402b74e4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file titiler_mosaic-2.0.2-py3-none-any.whl.
File metadata
- Download URL: titiler_mosaic-2.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
296865fe82365034c62cabe65220b38deed4e612a511f274565f11cb60e5488c
|
|
| MD5 |
28e599a9b0d22e375cb80daaa06e267e
|
|
| BLAKE2b-256 |
eb870b49356e1653bd0bf7942a78fd8ff497eacac908a1d8d440068ed2e7cba3
|
Provenance
The following attestation bundles were made for titiler_mosaic-2.0.2-py3-none-any.whl:
Publisher:
release.yml on developmentseed/titiler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
titiler_mosaic-2.0.2-py3-none-any.whl -
Subject digest:
296865fe82365034c62cabe65220b38deed4e612a511f274565f11cb60e5488c - Sigstore transparency entry: 1396362024
- Sigstore integration time:
-
Permalink:
developmentseed/titiler@02534bd14952a3011b24aa9e915cdc0c402b74e4 -
Branch / Tag:
refs/tags/2.0.2 - Owner: https://github.com/developmentseed
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02534bd14952a3011b24aa9e915cdc0c402b74e4 -
Trigger Event:
release
-
Statement type: