imageMath - grid origin is altered

Issue #670 wontfix
Fabian Thiel created an issue

If I select one input layer in imageMath, do some operation on it (e.g. input*2) and save the output (same format as input == geotiff), the origin is slightly altered.

As I only have one input, the default settings under Output Grid should not change the grid origin!? Setting it manually does not work correctly as depicted in #669

Maybe this is special to EPSG:3035, as I can not reproduce with test dataset. Perhaps try some FORCE tile to reproduce it

Origin of input:

Origin = (4526026.363041649572551,3464919.607964804396033)

Origin of output:

Origin = (4526026.363041649572551,3464919.607964800205082)

Version 3.7.20210417T222405.master

Comments (3)

  1. Fabian Thiel reporter

    Depending on how long the current master will stay the main version, it might make sense to fix the AA algorithm, so that grid matching is less strict? So far this is the main thing where this is an issue.
    Although it is strange that X stays the same while Y is slightly altered

  2. Andreas Janz

    ImageMath will be replaced my new RasterMath algorithm. Fabian, please check if the problem still exists.

  3. Log in to comment