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.15.6.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.15.6.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.15.6.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06dc2a3595052ace7e6aebfc7d29d5bb6c2bd1fb5884a457fa00dcee6dbc0dbd |
|
MD5 | c1053c89ed3c7582bbcdd3f3a3da16f3 |
|
BLAKE2b-256 | 355a1841820d515d2ab7ed0e3890dc1173a3b29a4593d651a4b91209d9ddf14e |
File details
Details for the file titiler.mosaic-0.15.6-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.15.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec46bc4c29d68c8830ff46a2c57dfe234b9a32bb5c9bec1fb8394468f31d255 |
|
MD5 | bc8f0bdbdbf2d95b1d56659191ef29b7 |
|
BLAKE2b-256 | 8d53156d55579588d5c30e0df1b2d5c8e1c65b754a3986b17c8c793d4e76214c |