Skip to main content

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.18.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

titiler.mosaic-0.18.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file titiler.mosaic-0.18.2.tar.gz.

File metadata

  • Download URL: titiler.mosaic-0.18.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for titiler.mosaic-0.18.2.tar.gz
Algorithm Hash digest
SHA256 71c314e2822975f4c6d18e9f99a4b73414096576c16930f74c5c52e3429bc2a2
MD5 aa8c0c584dc1fb61021ea14bd6e71168
BLAKE2b-256 9744dfaa3dbbd24689b76b69bac5a1dc6903daace12ab160ef7686011ace5d26

See more details on using hashes here.

File details

Details for the file titiler.mosaic-0.18.2-py3-none-any.whl.

File metadata

File hashes

Hashes for titiler.mosaic-0.18.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8fc9d98c303e2cb74bc00bc01f92f654c7766cd2208a15c1290ad2bed4b790
MD5 9be6199c306d0cb9fde0d5e02c0c8a81
BLAKE2b-256 1bcb8d4c3842870b3a886a39b2310fb3056a5cc95272ce2f964200b1a4cb8cf7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page