Skip to content
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

fix: always ignore existing overviews TDE-1046 #862

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

amfage
Copy link
Contributor

@amfage amfage commented Feb 19, 2024

Motivation

Existing overviews were only being ignored when webp overview compression was used. This was not used by the dem_lerc preset so overviews were not being ignored for LERC compressed DEMs/DSMs and therefore when restandardising already standardised datasets the quality of the overviews could be degraded.

Modification

Move the overviews=ignore_existing gdal_translate configuration option to the BASE_COG configuration so it is always set.

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@amfage amfage requested a review from a team as a code owner February 19, 2024 02:16
l0b0
l0b0 previously approved these changes Feb 19, 2024
Copy link
Collaborator

@paulfouquet paulfouquet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we briefly explain why we ignore them?

@amfage amfage added this pull request to the merge queue Feb 19, 2024
Merged via the queue into master with commit 900907f Feb 19, 2024
2 checks passed
@amfage amfage deleted the fix/always-ignore-existing-overviews branch February 19, 2024 03:12
@github-actions github-actions bot mentioned this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants