cogeo-mosaic (MosaicJSON) plugin for TiTiler.
Project description
titiler.mosaic
Adds support for MosaicJSON in Titiler.
Installation
$ python -m pip install -U pip
# From Pypi
$ python -m pip install titiler.mosaic
# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && python -m pip install -e src/titiler/core -e src/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/ - `mosaic` namespace package
├── models/
| └── responses.py - mosaic response models
├── errors.py - cogeo-mosaic known errors
└── factory.py - Mosaic endpoints factory
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.15.5.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.15.5.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.15.5.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3b9f64122d0b578bf7f794a16d776608d29fedc5b8017e1ac0af9c2a5ddece |
|
MD5 | ea7d893e3441f74026ec2ef8a9fb03bb |
|
BLAKE2b-256 | ae4f8e6ecf52cc744951aa9efa880b8b4a023b4e64b40ebd45bedebea5a5642c |
File details
Details for the file titiler.mosaic-0.15.5-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.15.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467d021aacb77dd6f15c3a6f3d91f30c10b2a2a26ed646e6a99d6c5d4051ef74 |
|
MD5 | f09b8d933afcbe6ff2b99a90475c5ddc |
|
BLAKE2b-256 | c8446726f5058907a4ba0edda6c3ae970ef8e203f45c4c495ecd272c962bc4fc |