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.13.2.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.13.2.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.13.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 834fcca94916fa0fa9ada61722a86a4bd52ee3bd326b03bc55ac699524fd907d |
|
MD5 | 6623e5c07a807b75eb4eaee827f8dc8e |
|
BLAKE2b-256 | f5372ff63c1d3fc61d319207bf663689a793e8ee7c579e9a04c3190cd7a67fcd |
File details
Details for the file titiler.mosaic-0.13.2-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.13.2-py3-none-any.whl
- Upload date:
- Size: 8.2 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 | 5c0ca3701cb09f4f8abb2a1eb4abcab292aa3de63c90a5f8836ef9be4e8bb81f |
|
MD5 | 99e9f0a4af03c42e9e8f7450a7659e49 |
|
BLAKE2b-256 | 20b6e12c23b6d522259ea18592d5a55d688596135cab47cd7a211ea2325987d8 |