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.1.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.11.1.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.11.1.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 | 2629790326e66af92b1c2ce2fff236d05019c04c0b28f1ad64777b74d80b359b |
|
MD5 | 6514b5f4a7bcd4e86e62383b08491243 |
|
BLAKE2b-256 | 05014fb620f4521f7d8651ecbf679d01d6b88ac568f7f910ce5303041aff5bfc |
File details
Details for the file titiler.mosaic-0.11.1-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.11.1-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 | ae8cacaf5baf5fb1aa03817f63a29ad5e6fbc614703c6c193d294f9105c311ad |
|
MD5 | c76723f3a5bbb2badfe31ad65e0ba6d5 |
|
BLAKE2b-256 | f2f86fc32bf1cd89c231a41957f482612105caf171818c2b53a77b47cfc94915 |