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

Major artifact when upsampling with Average #3555

Open
jdries opened this issue Nov 8, 2024 · 1 comment
Open

Major artifact when upsampling with Average #3555

jdries opened this issue Nov 8, 2024 · 1 comment
Labels

Comments

@jdries
Copy link
Contributor

jdries commented Nov 8, 2024

Describe the bug

The following result was obtained when upsampling a COG to higher resolution, using 'Average'. I'm aware that doing upsampling with this kind of method may not really make sense, maybe the artifacts are even the expected outcome somehow.

image

To Reproduce

I don't have a small sample yet, but the more extensive test does this:

  • start from sentinel-2 utm data as COG
  • load with GeoTiffRasterSource
  • resample to webmercator, zoom level 14 so higher than original resolution, using Average

Expected behavior

Not

@pomadchin pomadchin added the bug label Nov 8, 2024
@pomadchin
Copy link
Member

pomadchin commented Nov 8, 2024

Ugh sadly we need a reproducible example + the exact code used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants