Closed mccarthyryanc closed 5 months ago
@mccarthyryanc thanks for the PR 🙏
Would you be able to update the documentation for this new option 🙏
@vincentsarago , I've updated the docs. Since the docs mostly refer to the CLI (at least in the Advanced Topics section) I also added this option, rio cogeo --decimation-base
. Hopefully that is okay.
Similar to the
decimation_base
added to morecantile. I'd like the ability to define a customdecimation_base
when creating COG overviews. This PR adds that var in along with some tests. For now, it requires an input foroverview_level
, since that defaults to the value returned byrasterio.rio.overview.get_maximum_overview_level
which uses a hardcoded base of 2.