titiler-mosaic-2.0.0b2
2.0.0b2
2.0.0b1
2.0.0a2
2.0.0a1
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.1
0.23.0
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.10
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1a0
0.11.1
2.0.0b2
2.0.0b1
2.0.0a2
2.0.0a1
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0a2
0.6.0a1
0.6.0
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0a2
0.4.0a1
0.4.0a0
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.2
0.3.12
0.3.11
0.3.10
0.3.1
0.3.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.1
0.23.0
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.10
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1a0
0.11.1
0.11.0
0.10.2
0.10.1
0.10.0
توضیحات
cogeo-mosaic (MosaicJSON) plugin for TiTiler.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | titiler-mosaic-2.0.0b2 |
| نام | titiler-mosaic |
| نسخه کتابخانه | 2.0.0b2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Vincent Sarago <vincent@developmentseed.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/titiler-mosaic/ |
| مجوز | MIT |
## titiler.mosaic
<img style="max-width:400px" src="https://github.com/user-attachments/assets/14b92588-14eb-4b37-b862-cc5d0d8015c9"/>
Adds support for Mosaic in Titiler. `Mosaic's` backend needs to be built on top of rio-tiler's Mosaic Backend https://cogeotiff.github.io/rio-tiler/advanced/mosaic_backend/
## Installation
```bash
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
# install cogeo-mosaic for MosaicJSON support
python -m pip install cogeo-mosaic
```
## How To
```python
from fastapi import FastAPI
from titiler.mosaic.factory import MosaicTilerFactory
from cogeo_mosaic.backends import MosaicBackend
# Create a FastAPI application
app = FastAPI(
description="A Mosaic tile server",
)
# Create a set of Mosaic endpoints using MosaicJSON backend from cogeo-mosaic project
mosaic = MosaicTilerFactory(backend=MosaicBackend)
# Register the Mosaic endpoints to the application
app.include_router(mosaic.router, tags=["MosaicJSON"])
```
## Package structure
```
titiler/
└── mosaic/
├── tests/ - Tests suite
└── titiler/mosaic/ - `mosaic` namespace package
├── models/
| └── responses.py - mosaic response models
├── errors.py - mosaic known errors
├── extensions.py - extensions
└── factory.py - Mosaic endpoints factory
```
نیازمندی
| مقدار | نام |
|---|---|
| - | titiler-core==1.2.0 |
| xtr | cogeo-mosaic<10.0,>=9.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl titiler-mosaic-2.0.0b2:
pip install titiler-mosaic-2.0.0b2.whl
نصب پکیج tar.gz titiler-mosaic-2.0.0b2:
pip install titiler-mosaic-2.0.0b2.tar.gz