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.5.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.18.5.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.18.5.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f111354ac3418efba0b84481023b1b806cadb249506b8fdf7760f8ce1016f24 |
|
MD5 | 8c6dd13e565fa5df86fe089218c74462 |
|
BLAKE2b-256 | c71fd3e2da584511d378010159f8d7dcbb53589b7b59430efa9f1204f562b7cb |
File details
Details for the file titiler.mosaic-0.18.5-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.18.5-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.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0939111d529886c2f95ad1a808568333d92763c3a0bf05868652a30ed282ea0 |
|
MD5 | e94d67c6b42eedbd14c715f5db5ecb04 |
|
BLAKE2b-256 | e8edc5c7d076c81706175b9090d505afbc31f67f9849d2e2f4b6fd685e03b625 |