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.17.2.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.17.2.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.17.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71369ffda0ed8a6516e37fdb7d80bd8427ef07a6235826fc2541728a1a954f63 |
|
MD5 | 7166810b0b7f838a4895d31ac26a3683 |
|
BLAKE2b-256 | d104d6952e6dd3e2de1191d521ae3cd7994502f067f6f6aadcd6b8671fe9ca7e |
File details
Details for the file titiler.mosaic-0.17.2-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.17.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345b3984a3208b5313f8c60d54930660c521d3dca00ff7c13f36f056b4736eaf |
|
MD5 | 6a40e4ca02e95dff63a07a2c0a265b65 |
|
BLAKE2b-256 | 7a43c79f0b73aa2eeabb6ebd1b38f4f308abfccfbcf6fb3cf5f902788a6f98ed |