## titiler.mosaic
<img style="max-width:400px" src="https://github.com/user-attachments/assets/14b92588-14eb-4b37-b862-cc5d0d8015c9"/>
Adds support for [MosaicJSON](https://github.com/developmentseed/mosaicjson-spec) in Titiler.
> MosaicJSON is an open standard for representing metadata about a mosaic of Cloud-Optimized GeoTIFF (COG) files.
Ref: https://github.com/developmentseed/mosaicjson-spec
## 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 Mosaic tile server",
)
# Create a set of MosaicJSON endpoints
mosaic = MosaicTilerFactory()
# 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 - 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/9a/e5/d45edfab814ba744f9af2ca86c4f58628e8ef02fff1559d5f9912a4719b2/titiler.mosaic-0.19.1.tar.gz",
"platform": null,
"description": "## titiler.mosaic\n\n<img style=\"max-width:400px\" src=\"https://github.com/user-attachments/assets/14b92588-14eb-4b37-b862-cc5d0d8015c9\"/>\n\nAdds support for [MosaicJSON](https://github.com/developmentseed/mosaicjson-spec) in Titiler.\n\n> MosaicJSON is an open standard for representing metadata about a mosaic of Cloud-Optimized GeoTIFF (COG) files.\n\nRef: https://github.com/developmentseed/mosaicjson-spec\n\n## Installation\n\n```bash\npython -m pip install -U pip\n\n# From Pypi\npython -m pip install titiler.mosaic\n\n# Or from sources\ngit clone https://github.com/developmentseed/titiler.git\ncd 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 Mosaic 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\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.19.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": "51321ed64942bbeca884ac8859a8554f30f47675b679dfeb8b1e1927a218a88a",
"md5": "1f7b6aed9eb1031878f25ad6f9170416",
"sha256": "172d1fdd23ced57ab98210343dbdc1c049b0725ad4e06a5eaafda9c13c0323ae"
},
"downloads": -1,
"filename": "titiler.mosaic-0.19.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f7b6aed9eb1031878f25ad6f9170416",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 10054,
"upload_time": "2024-11-14T13:30:00",
"upload_time_iso_8601": "2024-11-14T13:30:00.619015Z",
"url": "https://files.pythonhosted.org/packages/51/32/1ed64942bbeca884ac8859a8554f30f47675b679dfeb8b1e1927a218a88a/titiler.mosaic-0.19.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9ae5d45edfab814ba744f9af2ca86c4f58628e8ef02fff1559d5f9912a4719b2",
"md5": "15f3c75707d1f087074a60779befeee2",
"sha256": "e76d1349171f7454aa834c3ede42ab9a0e8596a9ea6669f927bf4c1b6ff64a00"
},
"downloads": -1,
"filename": "titiler.mosaic-0.19.1.tar.gz",
"has_sig": false,
"md5_digest": "15f3c75707d1f087074a60779befeee2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9671,
"upload_time": "2024-11-14T13:30:02",
"upload_time_iso_8601": "2024-11-14T13:30:02.225818Z",
"url": "https://files.pythonhosted.org/packages/9a/e5/d45edfab814ba744f9af2ca86c4f58628e8ef02fff1559d5f9912a4719b2/titiler.mosaic-0.19.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 13:30:02",
"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"
}