Skip to main content

Cloud Optimized GeoTIFF (COGEO) creation plugin for rasterio

Project description

rio-cogeo

COG

Cloud Optimized GeoTIFF (COG) creation and validation plugin for Rasterio.

Test Coverage Package version Conda Forge Downloads Downloads


Documentation: https://cogeotiff.github.io/rio-cogeo/

Source Code: https://github.com/cogeotiff/rio-cogeo


Cloud Optimized GeoTIFF

This plugin aims to facilitate the creation and validation of Cloud Optimized GeoTIFF (COG or COGEO). While it respects the COG specifications, this plugin also enforces several features:

  • Internal overviews (User can remove overview with option --overview-level 0)
  • Internal tiles (default profiles have 512x512 internal tiles)

Important: in GDAL 3.1 a new COG driver has been added (doc, discussion), starting with rio-cogeo version 2.2, --use-cog-driver option was added to create COG using the COG driver.

Install

$ pip install -U pip
$ pip install rio-cogeo

Or install from source:

$ pip install -U pip
$ pip install git+https://github.com/cogeotiff/rio-cogeo.git

GDAL Version

It is recommended to use GDAL > 2.3.2. Previous versions 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.

Source Distribution

rio_cogeo-7.0.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rio_cogeo-7.0.1-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file rio_cogeo-7.0.1.tar.gz.

File metadata

  • Download URL: rio_cogeo-7.0.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for rio_cogeo-7.0.1.tar.gz
Algorithm Hash digest
SHA256 3bfe448e221579e8b2ee569114c8c5cc4bdabe00f99fe5dc10782e75eba31dd0
MD5 707c1d6f88782717bf0854a7aed629f4
BLAKE2b-256 0d870040337ae4a5adb8c52f29aa3ff7d6e1648685ed1a4d9be6fe77cb75904b

See more details on using hashes here.

File details

Details for the file rio_cogeo-7.0.1-py3-none-any.whl.

File metadata

  • Download URL: rio_cogeo-7.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1

File hashes

Hashes for rio_cogeo-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10ca7a5d23e185db597438ebb51d1c2c30928e75c635800e834a5c14241134e2
MD5 ae546259635d9452ffc97deb94683b60
BLAKE2b-256 4ef8fc54603209c05aadbf35c5f5a63d209e27ed37e0045c17c44d4b0a4689e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page