## 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.10",
"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/4c/99/30fd08742f9beec5a28d134727d87207fb9e6513279f6bb12120f56388db/titiler_mosaic-0.24.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",
"bugtrack_url": null,
"license": "MIT",
"summary": "cogeo-mosaic (MosaicJSON) plugin for TiTiler.",
"version": "0.24.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": null,
"digests": {
"blake2b_256": "381fc4285763979e4c1e3669e1b70712c57d9895895324d0639f7c409aae5beb",
"md5": "f33ae958e16a7b06506299565d269aeb",
"sha256": "987f542139a9e721ad9c3198936f5360364b09544edd99e82f46697615587efe"
},
"downloads": -1,
"filename": "titiler_mosaic-0.24.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f33ae958e16a7b06506299565d269aeb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11577,
"upload_time": "2025-10-10T13:44:35",
"upload_time_iso_8601": "2025-10-10T13:44:35.554867Z",
"url": "https://files.pythonhosted.org/packages/38/1f/c4285763979e4c1e3669e1b70712c57d9895895324d0639f7c409aae5beb/titiler_mosaic-0.24.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4c9930fd08742f9beec5a28d134727d87207fb9e6513279f6bb12120f56388db",
"md5": "6b1c43472be78bdfc7237ae40238d772",
"sha256": "7c9ec0d09da90fab846bef96cf34e6054e31d8b018577715d8b6013df5314916"
},
"downloads": -1,
"filename": "titiler_mosaic-0.24.1.tar.gz",
"has_sig": false,
"md5_digest": "6b1c43472be78bdfc7237ae40238d772",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 10822,
"upload_time": "2025-10-10T13:44:36",
"upload_time_iso_8601": "2025-10-10T13:44:36.366820Z",
"url": "https://files.pythonhosted.org/packages/4c/99/30fd08742f9beec5a28d134727d87207fb9e6513279f6bb12120f56388db/titiler_mosaic-0.24.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-10 13:44:36",
"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"
}