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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.18.10.tar.gz
Algorithm Hash digest
SHA256 b796a763d802b6ceaa75e932094a11182ba41f8db74bd145ed44e3e5e45e6ef1
MD5 ac21451e33c581ec2a37a01679e2570d
BLAKE2b-256 29acf6b3e267cb0e3f6260960f38ef91b14489e31b1d54a6dc6822d39af8b97f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.18.10-py3-none-any.whl
Algorithm Hash digest
SHA256 138e2f0091fd92bb0289641dc66a2d729893fb9d64205002c44540df6d791c92
MD5 90b1c8f18a463b7592be1f91ad0d2022
BLAKE2b-256 6f744bde72f12dbcd68b28d1aa3310b31d096528263fbc27ab0844064cfcc770

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