Skip to content

output images are in unconvential south-north orientation #88

@johntruckenbrodt

Description

@johntruckenbrodt

... causing incompatibilities when working with GDAL.

current:

Pixel Size = (10.000000000000000,10.000000000000000)
...
Corner Coordinates:
Upper Left  (  600000.000, 4890240.000) ( 10d15' 2.22"E, 44d 9'30.67"N)
Lower Left  (  600000.000, 5000040.000) ( 10d16'19.35"E, 45d 8'48.31"N)
Upper Right (  709800.000, 4890240.000) ( 11d37'21.87"E, 44d 8' 6.90"N)
Lower Right (  709800.000, 5000040.000) ( 11d40' 3.44"E, 45d 7'21.62"N)
Center      (  654900.000, 4945140.000) ( 10d57'11.72"E, 44d38'34.50"N)

expected:

Pixel Size = (10.000000000000000,-10.000000000000000)
...
Corner Coordinates:
Upper Left  (  600000.000, 5000040.000) ( 10d16'19.35"E, 45d 8'48.31"N)
Lower Left  (  600000.000, 4890240.000) ( 10d15' 2.22"E, 44d 9'30.67"N)
Upper Right (  709800.000, 5000040.000) ( 11d40' 3.44"E, 45d 7'21.62"N)
Lower Right (  709800.000, 4890240.000) ( 11d37'21.87"E, 44d 8' 6.90"N)
Center      (  654900.000, 4945140.000) ( 10d57'11.72"E, 44d38'34.50"N)

Temporary workaround: swap the pixels and coordinates using gdalwarp:

gdalwarp gt.tif gt_swp.tif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions