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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.mosaic-0.16.2.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.16.2.tar.gz
Algorithm Hash digest
SHA256 1a63e5974aee951d611a74d23f500af8e575c29221768a8f34f6c285740fe919
MD5 64141a0062578f768f707b08824465a9
BLAKE2b-256 619cceb8f25d0604d502d9c6d37a59e21cea2df4ebf69d89c3b81e03e56cac4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.16.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b9ababf36fa1d5498440c2f5d07ba33ea6fc8123b4629f3f4e87de56ac42971
MD5 3804e9d75d7de6b74749e1ad3f81892e
BLAKE2b-256 e8a2abb4a81088c9d91648ef0fc0f8f322c8f83c850dcf0a540312eca6fc3f5d

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