skillfed

titiler-mosaic

cogeo-mosaic (MosaicJSON) plugin for TiTiler.

titiler-mosaic v2.2.1 104.1K downloads/30d#12,768 on PyPI1,145
Permissive license MIT Active released

What it is and what it does

titiler-mosaic is a plugin for TiTiler that extends its tile-serving capabilities to handle mosaicked raster datasets through MosaicJSON. It wraps rio-tiler's Mosaic Backend and exposes it as a set of endpoints, allowing you to build a dynamic tile server that can composite and serve tiles from multiple raster sources on demand.

The package is designed for geospatial workflows where you need to serve tiles from collections of raster data. It handles the complexity of mosaic composition and tile extraction. Installation is straightforward with a single core dependency (titiler-core), and it supports Python 3.11 through 3.14.

Use it for:

  • Serve tiles from a collection of raster sources as a single unified mosaic through endpoints.
  • Build a dynamic tile server that composites multiple raster datasets on-the-fly.
  • Expose MosaicJSON metadata and tile endpoints for geospatial data discovery and access.
  • Create OGC-compliant tile services for satellite imagery, elevation data, or raster collections.
  • Integrate mosaic tiling into a web application for custom geospatial services.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds MosaicJSON support to TiTiler, enabling you to build a tile server that serves mosaicked raster data through FastAPI endpoints.

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively under MIT. Install it if you need to add MosaicJSON support to TiTiler for serving mosaicked raster data.

Install

titiler-mosaic on PyPI

pip

pip install titiler-mosaic

uv

uv add titiler-mosaic

poetry

poetry add titiler-mosaic

Installing titiler-mosaic

Before you install

Low install friction with a single runtime dependency (titiler-core). The package is actively maintained with a recent release 16 days ago and supports Python 3.11, 3.12, 3.13, and 3.14.

License in practice

MIT license is permissive; you can use this package in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install titiler-mosaic

from titiler.mosaic.factory import MosaicTilerFactory

mosaic = MosaicTilerFactory(backend=MosaicBackend)
app.include_router(mosaic.router, tags=["MosaicJSON"])

Requires Python 3.11 or later.

Verify before relying

  • Whether cogeo-mosaic is an optional or required dependency for typical use cases.
  • Performance characteristics when serving large mosaics or high-frequency tile requests.
  • Compatibility with specific versions of rio-tiler and GDAL/Rasterio.
  • How MosaicTilerFactory is instantiated and what backend options are available.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 1 — titiler-core
Maintenance actively maintained — 16 days since the last release
Last repo commit
First released
Downloads 104,093/month — #12,768 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: titiler_mosaic-2.2.1-py3-none-any.whl

Keywords: COG, Dynamic tile server, Fastapi, GDAL, MosaicJSON, OGC, Rasterio, STAC

Intended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: GIS

Tags

mosaic tile servermosaicjson fastapiraster mosaic tilingcogeo mosaic plugindynamic tile servinggeospatial tile endpointsrio-tiler mosaic backend
geospatial-tilingraster-datafastapi-plugin

More GIS packages