cogeo-mosaic (MosaicJSON) plugin for TiTiler.
Project description
titiler.mosaic
Adds support for MosaicJSON in Titiler.
MosaicJSON is an open standard for representing metadata about a mosaic of Cloud-Optimized GeoTIFF (COG) files.
Ref: https://github.com/developmentseed/mosaicjson-spec
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
How To
from fastapi import FastAPI
from titiler.mosaic.factory import MosaicTilerFactory
# Create a FastAPI application
app = FastAPI(
description="A Mosaic tile server",
)
# Create a set of MosaicJSON endpoints
mosaic = MosaicTilerFactory()
# 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 - cogeo-mosaic known errors
└── 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-0.19.0.tar.gz
(9.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.19.0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.19.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b99d3dbf79a842105afd8ddb4a0090e5fb08827dbeb71e32db3ec25013d80eb3 |
|
MD5 | dc32b2393e1a9f34f3f5cf5fe649275c |
|
BLAKE2b-256 | 6a8567dd8d87940b907956b962d89ba366898dd5d387466c60e7b7a0f2500683 |
File details
Details for the file titiler.mosaic-0.19.0-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.19.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc9823174ec834aeb6311a5df274484fe568dcc6f168c874842f5977ec5e1e8d |
|
MD5 | d05bdd078b122fa3b8ca112e0244383c |
|
BLAKE2b-256 | 73e72b5ecaa028acc1656f891a90a8eb1f725ca6132d739e6eadfaf6841217b0 |