-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Internal Mask Overviews when creating COGs #1455
Comments
…sk+external overview, and fix COPY_SRC_OVERVIEWS=YES so that it does not copy ALL_VALID masks (refs #1455)
@tbonfort I'm not sure we ever want to support that combination of internal mask + external overviews, becase I'm not sure in which file we should write the overviews of the mask : the .tif (since the mask is there, but as external overview is asked for, that would be odd), or a .msk.ovr one (but that would be odd since there is no .msk one) ? |
CC @palmerj who played recently in that area |
Thanks for the explanation @rouault , OK to close for me |
Using master, when creating a COG from a TIF with internal mask, the mask overviews are incorrectly filled with 255. Using an external mask as detailed in #754 works correctly
Steps to reproduce:
When opening
cog.tif
in qgis, or when using warp/translate, cog.tif shows up with a transparent "background" when using full resolution, but with a black background when using an overview levelThe text was updated successfully, but these errors were encountered: