-
Notifications
You must be signed in to change notification settings - Fork 44
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
COG validation fails for files that are SPARSE and have sparse edge tiles in the overviews. #281
Comments
👍 Yes I think we should fix this! |
Hi @vincentsarago I get the following error with the validator:
Note that the overviews and full image are in the right order if you ignore the sparse zero blocks: |
…PARSE and have sparse edge tiles in the overviews
Hi @vincentsarago , Thank you! |
Fix for issue #281 COG validation fails for sparse edge tiles
this was done in #282 |
I am using the rio-cogeo validator to validate a sparse COG file and the validation returns False even though it is a valid COG. Other COG validators return valid for the same file.
I believe this is because the overviews are stored as sparse and the validator checks for the first tile offset of each overview (BLOCK_OFFSET_0_0 tag). Since there are sparse edge tiles, this value it is zero, and it cannot verify that the overviews are in the right order, even though they are.
Is this a limitation of the validator? Is there a way to overcome this issue or is it planned to be fixed?
Thank you.
The text was updated successfully, but these errors were encountered: