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

use AVERAGE overview resampling for better nodata handling #48

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

asjohnston-asf
Copy link
Member

@asjohnston-asf asjohnston-asf commented Dec 1, 2020

This removes the large nodata regions from overviews. See descriptions of resampling methods at https://gdal.org/programs/gdaladdo.html#cmdoption-gdaladdo-r

hyp3lib.make_cogs previously used -r average when generating overviews as well.

For reference, the list of all creation options for the COG driver are at https://gdal.org/drivers/raster/cog.html#creation-options

@asjohnston-asf asjohnston-asf added the bumpless Changes to documentation, CI/CD pipelines, etc that don't affect the project's version label Dec 1, 2020
@asjohnston-asf asjohnston-asf requested a review from a team December 1, 2020 02:56
Copy link
Contributor

@jhkennedy jhkennedy left a comment

Choose a reason for hiding this comment

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

I like it!

@asjohnston-asf asjohnston-asf merged commit 2e02e08 into develop Dec 1, 2020
@asjohnston-asf asjohnston-asf deleted the resampling branch December 1, 2020 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bumpless Changes to documentation, CI/CD pipelines, etc that don't affect the project's version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants