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.15.7.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.15.7.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.15.7.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d47d7d681657d01e935fa96f9a65d5735aca132ea9acc8af62cd9f2a2afbb65 |
|
MD5 | 25437b21d941ab24636061c9f161dc6a |
|
BLAKE2b-256 | e2f657ebfa969350aff2fd76354aff59effd203b81fdd2bf1d360dc64581c528 |
File details
Details for the file titiler.mosaic-0.15.7-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.15.7-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25026ad94a2a8f17e1ac958c51549d6dec71a9c9e0be2f1517de6fc48278835c |
|
MD5 | c00fb067aa5ffde73cc9f52b72b9e0fb |
|
BLAKE2b-256 | 4762c84f1e7091b3fa292b72f58483932584753a7895a3ebc504acfb675d77da |