Cloud Optimized GeoTIFF (COGEO) creation plugin for rasterio
Project description
rio-cogeo
Cloud Optimized GeoTIFF (COG) creation and validation plugin for Rasterio.
Documentation: https://cogeotiff.github.io/rio-cogeo/
Source Code: https://github.com/cogeotiff/rio-cogeo
Cloud Optimized GeoTIFF
This plugin aim to facilitate the creation and validation of Cloud Optimized GeoTIFF (COG or COGEO). While it respects the COG specifications, this plugin also enforce several features:
- Internal overviews (User can remove overview with option
--overview-level 0
) - Internal tiles (default profiles have 512x512 internal tiles)
Important: Starting from GDAL 3.1 a new COG generator driver will be added (doc, discussion) and will make rio-cogeo
kinda obsolete.
Install
$ pip install -U pip
$ pip install rio-cogeo --pre # Version 2.0 currently in development
Or install from source:
$ git clone https://github.com/cogeotiff/rio-cogeo.git
$ cd rio-cogeo
$ pip install -U pip
$ pip install -e .
GDAL Version
It is recommanded to use GDAL > 2.3.2. Previous version might not be able to create proper COGs (ref: https://github.com/OSGeo/gdal/issues/754).
More info in https://github.com/cogeotiff/rio-cogeo/issues/55
More
Blog post on good and bad COG formats: https://medium.com/@_VincentS_/do-you-really-want-people-using-your-data-ec94cd94dc3f
Checkout rio-glui or rio-viz rasterio plugins to explore COG locally in your web browser.
Contribution & Development
See CONTRIBUTING.md
Changes
See CHANGES.md.
License
See LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.