## titiler.mosaic
Adds support for MosaicJSON in Titiler.
## 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
```
## 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/ - `mosaic` namespace package
├── models/
| └── responses.py - mosaic response models
├── errors.py - cogeo-mosaic known errors
└── factory.py - Mosaic endpoints factory
```
Raw data
{
"_id": null,
"home_page": null,
"name": "titiler.mosaic",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "COG, STAC, MosaicJSON, Fastapi, Dynamic tile server, GDAL, Rasterio, OGC",
"author": null,
"author_email": "Vincent Sarago <vincent@developmentseed.com>",
"download_url": "https://files.pythonhosted.org/packages/ec/08/21f35418282efe98d8f752986db3dc2d5b4b54c1adbc3b089fc05318000a/titiler.mosaic-0.18.1.tar.gz",
"platform": null,
"description": "## titiler.mosaic\n\nAdds support for MosaicJSON in Titiler.\n\n## Installation\n\n```bash\n$ python -m pip install -U pip\n\n# From Pypi\n$ python -m pip install titiler.mosaic\n\n# Or from sources\n$ git clone https://github.com/developmentseed/titiler.git\n$ cd titiler && python -m pip install -e src/titiler/core -e src/titiler/mosaic\n```\n\n## How To\n\n```python\nfrom fastapi import FastAPI\nfrom titiler.mosaic.factory import MosaicTilerFactory\n\n# Create a FastAPI application\napp = FastAPI(\n description=\"A lightweight Cloud Optimized GeoTIFF tile server\",\n)\n\n# Create a set of MosaicJSON endpoints\nmosaic = MosaicTilerFactory()\n\n# Register the Mosaic endpoints to the application\napp.include_router(mosaic.router, tags=[\"MosaicJSON\"])\n```\n\nSee [titiler.application](../application) for a full example.\n\n## Package structure\n\n```\ntitiler/\n \u2514\u2500\u2500 mosaic/\n \u251c\u2500\u2500 tests/ - Tests suite\n \u2514\u2500\u2500 titiler/mosaic/ - `mosaic` namespace package\n \u251c\u2500\u2500 models/\n | \u2514\u2500\u2500 responses.py - mosaic response models\n \u251c\u2500\u2500 errors.py - cogeo-mosaic known errors\n \u2514\u2500\u2500 factory.py - Mosaic endpoints factory\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "cogeo-mosaic (MosaicJSON) plugin for TiTiler.",
"version": "0.18.1",
"project_urls": {
"Changelog": "https://developmentseed.org/titiler/release-notes/",
"Documentation": "https://developmentseed.org/titiler/",
"Homepage": "https://developmentseed.org/titiler/",
"Issues": "https://github.com/developmentseed/titiler/issues",
"Source": "https://github.com/developmentseed/titiler"
},
"split_keywords": [
"cog",
" stac",
" mosaicjson",
" fastapi",
" dynamic tile server",
" gdal",
" rasterio",
" ogc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "605d9a40f2b32a1f173df92b0511b48e698648f2d1ad6cf5d0ba9874a5190ff3",
"md5": "331496f01542634e2f1151f764edd971",
"sha256": "dbcde8b1d764ebc7aad1a2a094689d255fa938e47b243556ce6fe4dc67a5cd2f"
},
"downloads": -1,
"filename": "titiler.mosaic-0.18.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "331496f01542634e2f1151f764edd971",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8112,
"upload_time": "2024-04-12T16:37:51",
"upload_time_iso_8601": "2024-04-12T16:37:51.352720Z",
"url": "https://files.pythonhosted.org/packages/60/5d/9a40f2b32a1f173df92b0511b48e698648f2d1ad6cf5d0ba9874a5190ff3/titiler.mosaic-0.18.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ec0821f35418282efe98d8f752986db3dc2d5b4b54c1adbc3b089fc05318000a",
"md5": "25b1be467c9ad12e4fd101671e823087",
"sha256": "095f4bb8f69c83919368f00da1af0cd907506b19fcc198465e1453fc50ce43b7"
},
"downloads": -1,
"filename": "titiler.mosaic-0.18.1.tar.gz",
"has_sig": false,
"md5_digest": "25b1be467c9ad12e4fd101671e823087",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7685,
"upload_time": "2024-04-12T16:37:52",
"upload_time_iso_8601": "2024-04-12T16:37:52.759956Z",
"url": "https://files.pythonhosted.org/packages/ec/08/21f35418282efe98d8f752986db3dc2d5b4b54c1adbc3b089fc05318000a/titiler.mosaic-0.18.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-12 16:37:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "developmentseed",
"github_project": "titiler",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "titiler.mosaic"
}