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.14.0.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.14.0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.14.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80df3ed25adeeb0b1bac85f8f6683482e79d56f8461421137d3fa66c48e2689d |
|
MD5 | a3aba1942d17a69e3336d3badfed669d |
|
BLAKE2b-256 | 0eb13fd615cb8e5b35c7bf8118ead4f24aa540879f7252236ea259972cc86e87 |
File details
Details for the file titiler.mosaic-0.14.0-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.14.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5204654c22c55cc5b6e952002f8b6181047217f2a33dbab49a4194e3a52cf04 |
|
MD5 | cb5818950998e2e5434d0f4b36565c0a |
|
BLAKE2b-256 | d58fa491ea9ee703aa744e785257dcf5ec4ed80f7dbe367b37649b68f1979039 |