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

Uploaded Source

Built Distribution

titiler.mosaic-0.13.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.mosaic-0.13.0.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

Hashes for titiler.mosaic-0.13.0.tar.gz
Algorithm Hash digest
SHA256 1f5353e2702e8383acc48c539b7e99e7b429c303767d637c6252d4a72e94cb86
MD5 2428d5b6edbe285a7ecf494dbf884bda
BLAKE2b-256 423f616d12ea8eeaf414d50229bf5017bae302d4a4143237ec664df439557cb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1f1e117105145cadf0b7c30c0be39ef6d5bb9bb64da4e31530caac384c9054
MD5 b1398da1e414ab877564a40177eb14a4
BLAKE2b-256 d5be2a060ea42fa6d778b6285367d5b6986b5d71b1aebc867c43b1055ee76286

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