Skip to content

#1797 breaks COG #1877

@kikislater

Description

@kikislater

How did you install ODM? (Docker, installer, natively, ...)?

Docker

What is the problem?

With PR: #1797

COG are broken and not usable with external tools such as titiler, It works with ODM==3.5.3 and not with ODM>=3.5.4

�[39m[INFO]    Post Processing�[0m
�[39m[INFO]    Adding TIFFTAGs to /datasets/code/PROCESSED_DATA/PHOTOGRAMMETRY/odm_orthophoto/odm_orthophoto.tif�[0m
2025-06-17 14:13:56,682 WARNING: CPLE_AppDefined in /datasets/code/PROCESSED_DATA/PHOTOGRAMMETRY/odm_orthophoto/odm_orthophoto.tif: The IFD has been rewritten at the end of the file, which breaks COG layout.

Reported by @Gouderg

What should be the expected behavior? If this is a feature request, please describe in detail the changes you think should be made to the code, citing files and lines where changes should be made, if possible.

COG works with other software no error generated by gdal in console

How can we reproduce this? What steps did you do to trigger the problem? If this is an issue with processing a dataset, YOU MUST include a copy of your dataset AND task output log, uploaded on Google Drive or Dropbox (otherwise we cannot reproduce this).

Process dataset with ODM >= 3.5.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions