Skip to content

Major artifact when upsampling with Average  #3555

@jdries

Description

@jdries

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions