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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.18.9.tar.gz
Algorithm Hash digest
SHA256 241e80525bde6a583760de8e0fa4a4d6cf1994d306850ec8884bf14fd78a4d3d
MD5 076a853fe6015b3e33235c85b1813656
BLAKE2b-256 cab4869b6b4bbda81dd0e54c50f0b8464112dc588c1791f108bb8c5d6e182c30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.18.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2316ab94d625b02bdcd5f7787f0e84de978e73e41574d5f5a3f665639a64f52c
MD5 5b1d12ed5c892b87ce7cac5515ecbd48
BLAKE2b-256 5c9100f4dd82eeb1160743710372771a7950e688c79571a6d9961a799668844d

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