Skip to main content

cogeo-mosaic (MosaicJSON) plugin for TiTiler.

Project description

titiler.mosaic

Adds support for MosaicJSON in Titiler.

Installation

$ pip install -U pip

# From Pypi
$ pip install titiler.mosaic

# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && pip install -e titiler/core -e 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/            - `core` namespace package
        ├── resources/
        |   ├── enums.py         - mosaicJSON enumerations
        ├── errors.py            - cogeo-mosaic known errors
        ├── factory.py           - MosaicJSON endpoints factory
        └── version.py           - version

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

Uploaded Source

Built Distribution

titiler.mosaic-0.12.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.12.0.tar.gz
Algorithm Hash digest
SHA256 bf9c2865a03a4eea957fba69dbf36dd3b2cc3e9f845ee033f41f00a2f28de260
MD5 2707ec1bf3ad320a232d424940ef3a90
BLAKE2b-256 7efbecc5a79ea26449f61c8d5d43072ab8d03260e28582224d374221e278ac53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3843ec62bdac6a90c1981eda06c9d31310b15f143d1f90b9988f7b9bec15923
MD5 39022b2de2b6166d3826349a415a2496
BLAKE2b-256 eef7f27daf7eb40d869d43d6a81a390fc2d619bd957704bc85b41daaf4dec800

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