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.3.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for titiler.mosaic-0.11.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d88b6058ce98aa801727cfd782e01e1fe10ac16b9ed4fe5d41e5aae01c3cf2a8 |
|
MD5 | 0f39621e96768e321518bff7b7e28d59 |
|
BLAKE2b-256 | a03ad2a64c91f6502189e38f34475d9c88163ad03331f59a32ca39f4072e31b5 |