cogeo-mosaic (MosaicJSON) plugin for TiTiler.
Project description
titiler.mosaic
Adds support for MosaicJSON in Titiler.
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 lightweight Cloud Optimized GeoTIFF tile server",
)
# Create a set of MosaicJSON endpoints
mosaic = MosaicTilerFactory()
# Register the Mosaic endpoints to the application
app.include_router(mosaic.router, tags=["MosaicJSON"])
See titiler.application for a full example.
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.18.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for titiler.mosaic-0.18.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e8fc9d98c303e2cb74bc00bc01f92f654c7766cd2208a15c1290ad2bed4b790 |
|
MD5 | 9be6199c306d0cb9fde0d5e02c0c8a81 |
|
BLAKE2b-256 | 1bcb8d4c3842870b3a886a39b2310fb3056a5cc95272ce2f964200b1a4cb8cf7 |