Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cogger as a generic geotiff cleaner/rewriter #13

Open
4 of 5 tasks
tbonfort opened this issue Aug 9, 2024 · 2 comments
Open
4 of 5 tasks

Use cogger as a generic geotiff cleaner/rewriter #13

tbonfort opened this issue Aug 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tbonfort
Copy link
Member

tbonfort commented Aug 9, 2024

There are a few cases where cogger could be used as a generic geotiff rewriter (in order to reclaim file size) without specifically targeting a COG output. See e.g. OSGeo/gdal#10551. We need to support the following optional behaviors:

@jratike80
Copy link

  • Perhaps an option to remove metadata. But what sort of metadata?
  • If overviews could be removed then I guess that transparency masks could be removed with the same method.

@tbonfort
Copy link
Member Author

tbonfort commented Aug 9, 2024

  • removing metadata is out of scope for cogger, which does not have the ability to look into the meaning of any tiff tags aside from tile/strip pointers. use gdal_edit on the tiff file before running cogger if you need to support that behavior
  • I've added the mask removal to the proposal, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants