Mask and InverseMask functions used dualCombine which used the union of cellTypes between tile and mask for result type. This mostly worked out fine but can produce bad results when either mask or tile had same byte width but different NODATA definitions. The correct behavior for mask operation is to always preserver the cell type of the input tile no matter how silly it or the mask cell type is. It's just better not to ask questions here.
Checklist
[x] ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.
Overview
Mask
andInverseMask
functions useddualCombine
which used the union of cellTypes between tile and mask for result type. This mostly worked out fine but can produce bad results when either mask or tile had same byte width but different NODATA definitions. The correct behavior for mask operation is to always preserver the cell type of the input tile no matter how silly it or the mask cell type is. It's just better not to ask questions here.Checklist
Notes
Closes #3488