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.18.6.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.18.6.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.18.6.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d71eb9f061f4808fcd18b2c9ad2f245737633c5a8c2b71e7af6c310691aadb2 |
|
MD5 | 422d832ec0f7b5b8ee03545a7cec6f93 |
|
BLAKE2b-256 | 114abe8787260c816caad63ee0579bd803942fd79ba84ea038d20a521033ceeb |
File details
Details for the file titiler.mosaic-0.18.6-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.18.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538908982740e995e19b75369a75d4f77a1a535d39b34c81c87fb59b6a0b061c |
|
MD5 | b0d975b43e11742b09c18b3429e1c1ce |
|
BLAKE2b-256 | 3963c33871cd201baf368a100b1f709df3001cb266183ab6fcf3b07521b78308 |