cogeo-mosaic (MosaicJSON) plugin for TiTiler.
Project description
titiler.mosaic
Adds support for MosaicJSON in Titiler.
Installation
$ pip install -U pip
# From Pypi
$ pip install titiler.mosaic
# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && pip install -e titiler/core -e 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/ - `core` namespace package
├── resources/
| ├── enums.py - mosaicJSON enumerations
├── errors.py - cogeo-mosaic known errors
├── factory.py - MosaicJSON endpoints factory
└── version.py - version
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.11.4.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.11.4.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.11.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d60db1d7d234a4641d340f4f8a07b9c47bb5991e0e1d637d300c6b0e3a5937 |
|
MD5 | c1c3c85c6c5b821759b2214221f8eac1 |
|
BLAKE2b-256 | d848f69494aac94165ac75bcc96cfef691b792ef6a9b2a8c5308b866620cfa08 |
File details
Details for the file titiler.mosaic-0.11.4-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.11.4-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995deb0ea91e2d8ce56550db4e7784f7fd6945619e2d81f17f2afaff3b4e3f7d |
|
MD5 | 4cac194e50e61c239622d02e5ce78cbe |
|
BLAKE2b-256 | 21d322ea81823096bbecc90db653baa0651b976f3f91efbf8f8acb6bcce18f25 |