Rio-cogeo

Latest version: v5.3.2

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

5.3.2

* do not set output size in the intermediate VRT
* add Alpha band for GCPS wrapped dataset

5.3.1

* fix issue when creating COG from file with internal GCPS

5.3.0

* add `decimation_base` option in `cogeo.cog_translate` (author mccarthyryanc, https://github.com/cogeotiff/rio-cogeo/pull/285)

5.2.0

* remove `is_tiled` rasterio method and add better test for blockshapes for the validation script (author sgillies, https://github.com/cogeotiff/rio-cogeo/pull/278)

* Deprecate parameter **web_optimized** of `cogeo.cog_translate` Python function (author alexismanin, https://github.com/cogeotiff/rio-cogeo/pull/279)

python
before
output_profile = cog_profiles.get(profile)

tms = morecantile.tms.get("WGS1984Quad")
cog_translate(
"in.tif",
"out.tif",
output_profile,
web_optimzed=True,
tms=tms
)

now
tms = morecantile.tms.get("WGS1984Quad")
cog_translate(
"in.tif",
"out.tif",
output_profile,
tms=tms
)


* fix COG validation for SPARSE dataset (author mpadillaruiz, https://github.com/cogeotiff/rio-cogeo/issues/281)

CLI

* remove default (*128*) for `--overview-blocksize` option in the CLI. Now defaults to GDAL behaviour.

* change how `blocksize` for overviews is defined when using `tms` or `web-optimized` options

* `blocksize` is now defined from the tilematrixset's `tileWidth` and `tileHeight` when `--blocksize` is not provided

5.1.1

* use morecantile `TileMatrixSet.cellSize` property instead of deprecated/private `TileMatrixSet._resolution` method

5.1.0

* add option to write progress to an external text buffer (author SellersEvan, https://github.com/cogeotiff/rio-cogeo/pull/273)

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.