Closed AndreasLuckert closed 4 years ago
No need to spam both GDAL and libgeotiff with same request. github issues are not a support channel. Thanks
Alright, I'm sorry. I didn't know that those posts are available and visible everywhere on GitHub. I'm knew to GitHub anyway.
Well, as far as the content is concerned, if there is any chance to change GeoTiff-TAGs via libgeotiff, let me know, please. Thanks in advance Cheers
Dear community,
I'm using Linux Lubuntu 18.04 with exiftool command line and python libraries in order to modify TIFF-Tags of a land cover classification GeoTIFF-file. I wonder if using libgeotiff can make a difference. So far, I don't even know how to start using it, since I haven't found very telling examples for my specific task (change or delete GeoTiff-TAGs).
As the Python libraries
don't even list the GeoTiff tags, since they are "blind on that eye", I found that exiftool lists, but cannot change them.
The output of my example file, using exiftool in the terminal, is: Input:
exiftool -D -G -a -u -U -f "newfile.tif"
Output:Now, I'd like to change/delete the GeoTiff-TAG "Projection", which throws the following warning message without changing anything: Input:
exiftool "-Projection=" "newfile.tif"
Output:Warning: Sorry, Projection is not writable. Nothing to do.
Next, I found the following documentation of this very webpage: https://exiftool.org/TagNames/GeoTiff.html
It states, among other details, the following:
Is there any possibility to change/rename/delete a GeoTiff-TAG of choice via command line tolls such as libgeotiff, exiftools (as stated above in my attempt), or gdal etc.? I'm quite desparate already, since I've invested a lot of time in finding a possiblity, but so far no avail.
Thanks in advance for helping me out. Kind regards, Andreas