Resampling shifts data when using the pixel resolution option

Description

When resampling data and using the option 'by pixel resolution (in m)' the result is shifted by half a pixel.
The coordinate of the upper left pixel is not correctly calculated.

An example is on the testdata server (in UTM coordinates):

/data/ssd/testData/s3tbx/problems/jira/SNAP-1230

The centre of the upper-left pixel is in the original 20m product (S2-20m.tif) at:

After resampling to 10m (S2-10mGDAL.tif) the coordinate should be at:

But it still is

 

Environment

None

Status

Assignee

Tonio Fincke

Reporter

Marco Peters

Labels

None

Components

Affects versions

7.0.3

Priority

Critical
Configure