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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.18.4.tar.gz
Algorithm Hash digest
SHA256 2b743dd8baefd87901e7b2352d439b4935f406d545fa48afd88853e7467fd6bc
MD5 0efd25e2a58f2d7d3b11a8d269ff8901
BLAKE2b-256 1fdb57d572719c06af2e51021ea658272aeea8a8cf8b924900232bc4cf4b3dc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.18.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5f483be64e8be3e6c2b075ab7be74ba7c35953b1c98f6f88bb55ebf0313fc61b
MD5 616513cc22d8fb93442d27802ee18747
BLAKE2b-256 5dc118f7c94491c27f70bd0d5c01afa7710c76bdc9b0fff4d8cbc53a589d5d6b

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