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.17.0.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.17.0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.17.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a52983042f1aa3dff3626d6cd7bc12f790499848f005c43ae8f88f46605944 |
|
MD5 | 8906a07fbf2569006cc1d9d87c387d40 |
|
BLAKE2b-256 | 780ef74f7d204ee782289c2d13a22976b5d23ecb471261aca7c814d1f53a90dd |
File details
Details for the file titiler.mosaic-0.17.0-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.17.0-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 | 91c17befd64bf320bcbcad45fae2f9763683bb97ef7a889434201787af27f230 |
|
MD5 | 5a9071c6141b4f3bde3c033e3469fedb |
|
BLAKE2b-256 | e9d27bf1b5148ffb69ccae7f80934f61401887ef53263e6f77d1c8fa80091b95 |