Metadata-Version: 2.1
Name: titiler.mosaic
Version: 0.6.0a1
Summary: MosaicJSON plugin for TiTiler.
Keywords: MosaicJSON
Author-email: Vincent Sarago <vincent@developmentseed.com>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Dist: titiler.core>=0.6.0a1,<0.7
Requires-Dist: cogeo-mosaic>=4.1,<4.2
Requires-Dist: pytest ; extra == "test"
Requires-Dist: pytest-cov ; extra == "test"
Requires-Dist: pytest-asyncio ; extra == "test"
Requires-Dist: requests ; extra == "test"
Project-URL: Documentation, https://developmentseed.org/titiler/
Project-URL: Source, https://github.com/developmentseed/titiler
Provides-Extra: test

## titiler.mosaic

Adds support for MosaicJSON in Titiler.

## Installation

```bash
$ 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

```python
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](../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
```

