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
Built Distribution
File details
Details for the file titiler.mosaic-0.11.1a0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.11.1a0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad4ff23b1d55a6cea45c4403de6b7d79760fd54d5c231b5638390631e4a21108 |
|
MD5 | 2706416c79665f939cd8ce487adc0dad |
|
BLAKE2b-256 | e4013b0f7b3ed1802a65c7ec4e221052f903b935f4788a6d637698e1a6171094 |
File details
Details for the file titiler.mosaic-0.11.1a0-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.11.1a0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210926cef2298fb9076530319854a932c541806b12cd1562e3d21ae06c34c691 |
|
MD5 | ba04200cd6223f6ad4486e24d9dc9c28 |
|
BLAKE2b-256 | f16a33cb390b5faf32a262b60dad24b5bc419a0b2e884d23620cce94875783df |