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

Uploaded Source

Built Distribution

titiler.mosaic-0.11.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for titiler.mosaic-0.11.5.tar.gz
Algorithm Hash digest
SHA256 4c29b9fec7e1d150612651a4b92ceb33900e22e51c9eb6f2aaf2525f9a5df28b
MD5 665108066e45f76f5661b5cb664f2e13
BLAKE2b-256 020725d4b94bcb80cdebcb7a78a6d0b39aa97c5d7ce3dc00138ccc20427498c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for titiler.mosaic-0.11.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e30b711bb235838d228d00e6cf0109eadf1ce89601be9ca2d407b568fff2fc3
MD5 0424f8db637656e98b2d218d518d9acd
BLAKE2b-256 2561497347d066e34a528aa26b7b6f6da5961c34d884528c50727e171df99a0d

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