cogeo-mosaic (MosaicJSON) plugin for TiTiler.
Project description
titiler.mosaic
Adds support for MosaicJSON in Titiler.
Installation
$ pip install -U pip
# From Pypi
$ pip install titiler.mosaic
# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && pip install -e titiler/core -e 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/ - `core` namespace package
├── resources/
| ├── enums.py - mosaicJSON enumerations
├── errors.py - cogeo-mosaic known errors
├── factory.py - MosaicJSON endpoints factory
└── version.py - version
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.11.7.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.11.7.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.11.7.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a62c6d6a9a7f4d951fca2665234321e08781516d67f597ed063a0fe13c5cf4 |
|
MD5 | 5648976eaf829fb614297421cce80307 |
|
BLAKE2b-256 | 466522eaba5b348aa40cfeda6b44d8631935488e58087196828063719f68436f |
File details
Details for the file titiler.mosaic-0.11.7-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.11.7-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0360c7aab8de00385e8ee92957a3e888dd0579b6db917a64fe02e0e988bc3f30 |
|
MD5 | 02d79464a3f20be1cf1d445ecb5162d4 |
|
BLAKE2b-256 | 64141b560531bff5b87e3f1fa51aeb21dd094b8edd7dde94710853679e92e401 |