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.1.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.17.1.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.17.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a363d076f15d243e4fc5a3f9d6cb293156f4472286b21e8fd069fb9cad611008 |
|
MD5 | cc0f0e4a91b6e22d300792c3eb76fba1 |
|
BLAKE2b-256 | 823fbc29cfffcf0ed063a9f1163da2e638268780601b9ff23dd3561bfaca38a5 |
File details
Details for the file titiler.mosaic-0.17.1-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.17.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92434a89f190e28deaf3fd207923fb9d8284388c7d5656b2164379759aadc8bd |
|
MD5 | 627e08493fb9cd34f860bbcc6bd13996 |
|
BLAKE2b-256 | 83839c60224cc52d0db7f96846520e70f7875d3ea449bf4b6c4c58fa788dbe25 |