Skip to main content

cogeo-mosaic (MosaicJSON) plugin for TiTiler.

Project description

titiler.mosaic

Adds support for MosaicJSON in Titiler.

MosaicJSON is an open standard for representing metadata about a mosaic of Cloud-Optimized GeoTIFF (COG) files.

Ref: https://github.com/developmentseed/mosaicjson-spec

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 Mosaic tile server",
)

# Create a set of MosaicJSON endpoints
mosaic = MosaicTilerFactory()

# Register the Mosaic endpoints to the application
app.include_router(mosaic.router, tags=["MosaicJSON"])

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

Uploaded Source

Built Distribution

titiler.mosaic-0.19.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.mosaic-0.19.1.tar.gz
  • Upload date:
  • Size: 9.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.19.1.tar.gz
Algorithm Hash digest
SHA256 e76d1349171f7454aa834c3ede42ab9a0e8596a9ea6669f927bf4c1b6ff64a00
MD5 15f3c75707d1f087074a60779befeee2
BLAKE2b-256 9ae5d45edfab814ba744f9af2ca86c4f58628e8ef02fff1559d5f9912a4719b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.19.1-py3-none-any.whl
Algorithm Hash digest
SHA256 172d1fdd23ced57ab98210343dbdc1c049b0725ad4e06a5eaafda9c13c0323ae
MD5 1f7b6aed9eb1031878f25ad6f9170416
BLAKE2b-256 51321ed64942bbeca884ac8859a8554f30f47675b679dfeb8b1e1927a218a88a

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