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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.18.1.tar.gz
Algorithm Hash digest
SHA256 095f4bb8f69c83919368f00da1af0cd907506b19fcc198465e1453fc50ce43b7
MD5 25b1be467c9ad12e4fd101671e823087
BLAKE2b-256 ec0821f35418282efe98d8f752986db3dc2d5b4b54c1adbc3b089fc05318000a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbcde8b1d764ebc7aad1a2a094689d255fa938e47b243556ce6fe4dc67a5cd2f
MD5 331496f01542634e2f1151f764edd971
BLAKE2b-256 605d9a40f2b32a1f173df92b0511b48e698648f2d1ad6cf5d0ba9874a5190ff3

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