Mask to alpha band


Denis Rykov
 

Hi, folks!

Is it possible to convert internal mask to alpha band? 


Sean Gillies
 

Hi Denis,

There's no way to do it in Rasterio without creating a new dataset and copying the band and mask arrays from the original.

On Mon, Jul 23, 2018 at 2:08 PM, Denis Rykov <rykovd@...> wrote:
Hi, folks!

Is it possible to convert internal mask to alpha band? 




--
Sean Gillies