cogeo-mosaic
CLI and Backends to work with MosaicJSON.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem in geospatial workflows. The MIT license is permissive. Be aware of breaking changes in recent major versions (9.0+) if upgrading; review the changelog for API changes to backends and mosaic models.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires libgeos system library (shapely wheels available for most platforms; manual installation needed on some systems).
- Low install friction with a pure-Python wheel.
- The package requires libgeos (via shapely) as a system dependency since version 5.0, but shapely wheels are available for most environments.
License · maintenance · safety
permissive license (permissive) — MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license and copyright notice.
last release 2026-06-18 (57 days) · last repo commit 2026-08-09 · 119 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,564 downloads/mo, #12,289 on PyPI
Alternatives
Verify before relying
pip install cogeo-mosaic
from cogeo_mosaic.backends import MemoryBackend
from cogeo_mosaic.models import MosaicJSON
mosaic_def = MosaicJSON(name="my_mosaic", tiles=[...])
with MemoryBackend(mosaic_def=mosaic_def) as mosaic:
img, mask = mosaic.tile(0, 0, 0)- Whether httpx2 (the HTTP client switched to in 9.2.0) is a typo or intentional package name.
- Performance characteristics when working with very large mosaic collections.
- Specific cloud storage backend support beyond Azure, Google Cloud, and S3.
What it is and what it does
cogeo-mosaic is a library for creating and querying mosaics of Cloud Optimized GeoTIFF (COG) files using the mosaicJSON specification. It provides multiple backend implementations (in-memory, file-based, HTTP, cloud storage) to store and retrieve mosaic metadata, enabling efficient spatial queries across large collections of geospatial imagery without loading entire datasets into memory.
The package integrates with rasterio and rio-tiler for geospatial operations, uses morecantile for tile matrix set support, and offers both a Python API and CLI tools. It supports multiple coordinate reference systems and tile matrix sets beyond the default Web Mercator, making it suitable for diverse geospatial workflows. Recent versions (9.0+) introduced breaking changes to backend APIs and mosaic information models to align with mosaicJSON 0.0.3 specification.
Use it for
- Build searchable mosaics of satellite or aerial imagery stored as COGs in cloud storage (S3, Azure, GCS).
- Query which COG tiles intersect a given geographic point, bounding box, or tile coordinate.
- Serve dynamic tiles from a mosaic collection via a web service (commonly paired with TiTiler).
- Manage and organize large collections of geospatial rasters with metadata in mosaicJSON format.
- Convert between different tile matrix sets when working with non-Web-Mercator coordinate systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem in geospatial workflows. The MIT license is permissive. Be aware of breaking changes in recent major versions (9.0+) if upgrading; review the changelog for API changes to backends and mosaic models.
Install
cogeo-mosaic on PyPI
Before you install
Low install friction with a pure-Python wheel. The package requires libgeos (via shapely) as a system dependency since version 5.0, but shapely wheels are available for most environments. Actively maintained with recent releases and Python 3.14 support.
Requires libgeos system library (shapely wheels available for most platforms; manual installation needed on some systems).
License in practice
MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license and copyright notice.
Quickstart
pip install cogeo-mosaic
from cogeo_mosaic.backends import MemoryBackend
from cogeo_mosaic.models import MosaicJSON
mosaic_def = MosaicJSON(name="my_mosaic", tiles=[...])
with MemoryBackend(mosaic_def=mosaic_def) as mosaic:
img, mask = mosaic.tile(0, 0, 0)
Verify before relying
- Whether httpx2 (the HTTP client switched to in 9.2.0) is a typo or intentional package name.
- Performance characteristics when working with very large mosaic collections.
- Specific cloud storage backend support beyond Azure, Google Cloud, and S3.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 14 packagesattrscachetoolsclickclick-pluginscligjhttpx2morecantilenumpypydantic-settingspydanticrasteriorio-tilershapelysupermorecado |
| Maintenance | Actively maintained 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 114,564 / month, #12,289 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: GIS |
Evidence: cogeo_mosaic-9.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cloud optimized geotiff mosaic”
- cogeo-mosaicCreates and manages mosaics of Cloud Optimized GeoTIFF files…
- rio-tilerrio-tiler reads raster data from local and remote sources (HTTP, S3,…
- titiler-applicationProvides a ready-to-run FastAPI application for serving Cloud…
Give your agent the search over MCP, or paste the wish link into any chat.
More GIS packages
Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.
pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.
GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.
Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.
geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.
Install it if you need geocoding or distance calculations in your application.
Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.
h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.
See also supermorecado · titiler-mosaic · titiler-application · rio-cogeo · morecantile · titiler-core · rio-tiler · titiler-extensions · rio-stac · xarray-spatial