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

Uploaded Source

Built Distribution

titiler.mosaic-0.14.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.mosaic-0.14.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for titiler.mosaic-0.14.1.tar.gz
Algorithm Hash digest
SHA256 bbabb0d2b5eae86a51e365abdee9fefc087278ecb0e974cfa86c1a055709a209
MD5 9428d43d449f1cdd62f1a550439e673e
BLAKE2b-256 2a344b02f1d087c1285cb582cbd303f23de95435e03ad0c27604b1889e5f6dae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 090afe0953792ee0348e3d83f5075bf02e4726db57b4bac8d17512e4bf65e999
MD5 939af5f969377341245cb7d77c273441
BLAKE2b-256 0b834d2319602bc86dde34ea658c7eff6f4c72419f096de51a14de9ca3100043

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