Rio-cogeo

Latest version: v5.3.0

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

Scan your dependencies

Page 1 of 12

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)

5.0.0

* update `morecantile` requirement to `>=5.0,<6.0` (author mentaljam, https://github.com/cogeotiff/rio-cogeo/pull/267)
* update `pydantic` requirement to `~=2.0` (author mentaljam, https://github.com/cogeotiff/rio-cogeo/pull/267)
* fix `pydantic` deprecation warnings (author mentaljam, https://github.com/cogeotiff/rio-cogeo/pull/267)
* replace `BaseModel.json` with `BaseModel.model_dump_json`
* replace `BaseModel.dict` with `BaseModel.model_dump`
* replace `class Config` with `model_config` class variables

4.0.1

* limit pydantic requirement to `~=1.0``

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.