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.0.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file titiler.mosaic-0.15.0.tar.gz
.
File metadata
- Download URL: titiler.mosaic-0.15.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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14b9b7bd911f86b9ee894564ccf35c85787fedc329944b459189da3fe322fe0 |
|
MD5 | a17c9e28ec6670eab7e4b0aae85205a9 |
|
BLAKE2b-256 | d08c6f2b8d09d683c20531074fd1d05912022d076dd59b2e5e538141831f3972 |
File details
Details for the file titiler.mosaic-0.15.0-py3-none-any.whl
.
File metadata
- Download URL: titiler.mosaic-0.15.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.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef12b05000b1e046cc9260f16e26b22267128153c3a1543e007d8c9039de14ca |
|
MD5 | 8b848c8e2feaaaf852692fafdc6d7f4f |
|
BLAKE2b-256 | a04eec8a187cc2869cce8b708b5f6ec3b29fe8729e4ccf7971505795a777ff59 |