rio-cogeo
rio-cogeo copied to clipboard
cog drive in cog_translate function enforce creation of overviews
Combination of overview_level=0 and use_cog_driver produces unexpected behavior. cog_trasnlate(..., overview_level=0, use_cog_driver='True')
The function will enforce the default option which is OVERVIEWS=AUTO (default), even if we declarative set overview_level to zero.
Solution: change the parsing of parameters and consider the case of overview_level = 0.