Cannot write GPS coordinates to Canon CR2 files
I am using digikam to manage my photos, which works great for the most part except for one thing, it cannot save GPS coordinates to Canon CR2 files. The problem is the Exiv2 does not support writing GPS coordinates to CR2 files.
I'd like to see this feature added to Exiv2. I don't know if this is a limitation of CR2 files or just a missing feature in Exiv2. If it's the later, I'd like to contribute a patch to fix this. Any pointers to where I should start is really appreciated.
Updated by Alan Pater almost 5 years ago
Works for me:
~$ exiv2 -M'set Exif.GPSInfo.GPSLongitudeRef E' test.cr2 ~$ exiv2 -M'set Exif.GPSInfo.GPSLongitude 16/1 16/1 16/1' test.cr2
~$ exiv2 -g GPS test.cr2 Exif.Image.GPSTag Long 1 82428 Exif.GPSInfo.GPSLongitudeRef Ascii 2 East Exif.GPSInfo.GPSLongitude Rational 3 16deg 16' 16"
Updated by Robin Mills almost 5 years ago
- Category changed from api to not-a-bug
- Status changed from New to Closed
- Assignee set to Alan Pater
- Target version set to 0.26
- % Done changed from 0 to 100
- Estimated time set to 2.00 h
Thank You, Alan for investigating this. I'm going to close this "not a bug".