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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: titiler.mosaic-0.16.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7636516d9078135242cc08aeeb636aa9e246e3a363de309cc6287eef3d6533b9
MD5 6eade24944ad8a6beda16ca6468ea872
BLAKE2b-256 7500c4123556be28b9b602f3ba6784db5f893d43aebed94497066562d7bc4034

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9cf66fa203aad9d38282e5fccffdcc988b69b0c97e9a0c8f23cf09b511bdff4
MD5 c77d298af35cf824773748d4465a2bce
BLAKE2b-256 373caba667b6b3a247f733766787df4358aaf140dbd3243b67c65bf1b23625b6

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