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.13.3.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.13.3.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.13.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b3a41b27fa8af39fc4643575573bc8024434da8827ef4bf59860eb67d4928e2 |
|
MD5 | c47c972857b7146cd72465fc8bec2812 |
|
BLAKE2b-256 | 6a60a9a371660baa34b07a901de6399bf83ced36a7a6c16b6921adc820cc9b0c |
File details
Details for the file titiler.mosaic-0.13.3-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.13.3-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f08d240877820dceeb1237849e8a28a05589cb4728108db75dd28fae3f1c55a3 |
|
MD5 | d2e6a51540f188fea9d8d6788714d6df |
|
BLAKE2b-256 | b1af38cfd6854fadaefd6464dcc9b0bc4d923998c4fb27e8fd0be0b088c3297e |