A Python library for creating and managing Cloud Optimized GeoTIFF (COG) mosaics using MosaicJSON format. Version 9.1.0 requires Python >=3.11 and supports rio-tiler 7+. Active development with frequent releases.
pip install cogeo-mosaicVerified import paths — ran on the pinned version, not inferred.
Create and query a Cloud Optimized GeoTIFF mosaic using MosaicJSON.
Replace `from cogeo_mosaic.backends.base import BaseMosaic` with `from rio_tiler.mosaic.backend import BaseBackend`.
Upgrade Python to >=3.8 and rio-tiler to >=7.0.
Set AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN (if needed) environment variables.
Use `from rio_tiler.mosaic.backend import BaseBackend` instead.
Run `pip install cogeo-mosaic` in the correct Python environment.
Use `from cogeo_mosaic.mosaic import MosaicJSON`.
Provide valid tile indices (x, y, z) and optionally set `assets` parameter.
Use `MosaicJSON.from_urls()` or `MosaicJSON.from_features()` to create a MosaicJSON object first.