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.4.0.tar.gz
(7.6 kB
view details)
File details
Details for the file titiler.mosaic-0.4.0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.4.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953d1a1d81c7a45ec76bcdb883fe43cfd2eebdb7d1e69ae5b43f1449cb83d86b |
|
MD5 | 8568b69e60db21bb8ae2d596fbf2b02c |
|
BLAKE2b-256 | 5e08b22bb6e1b37157da7f703580c590726f6943617a481f3878bbf46523f3aa |