-
Notifications
You must be signed in to change notification settings - Fork 156
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
API for deleting tiff tags #246
Labels
enhancement
New feature or request
Comments
There is currently no API for deleting tags, just changing tag types and values. It should be easy to add in principle, but would leave many class instances out of sync with the state of the file... Tifffile cannot write COGs with pyramid levels. The Or try tifftools. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, thanks for the package :)
I have some large cloud optimized geotiffs and I'm trying to remove specific tags from them. I was looking through the code and saw the
__delitem__
implementation, but it appears to only delete them from the in-memory tag registry. Is there a way to delete tags from a file on disk? Or should I rewrite the file omitting the tags I want to remove, and if so, is there a recommended way of doing so?Thanks!
The text was updated successfully, but these errors were encountered: