* 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