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.6.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.11.6.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.11.6.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 | 23255d1c6729ed214d52cf4ddbc83c076143de89044862aff221fc1cb3bb58d0 |
|
MD5 | 9e817c887d783d764e86213174330ebd |
|
BLAKE2b-256 | a4d37d0fe33976ba3030e08e104f6570d1d1c2c3da6d3f21edd94f27d08bf636 |
File details
Details for the file titiler.mosaic-0.11.6-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.11.6-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 | 7850f5e7a31af605d8283e2e6e2f31b3014b86c19df6b68e01149082dd86b661 |
|
MD5 | 57b6e97f47be7e88c9fa1a4515e2a7a3 |
|
BLAKE2b-256 | bd60e4fa3cedb9994e7707a8a078bc49bfdaf72a8f7637d048a49ad0870f9f08 |