ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Yanpas on May 13, 2015, 06:06:54 PM

Title: Two GPSDateTime tags. How to remove or edit them?
Post by: Yanpas on May 13, 2015, 06:06:54 PM
I want to change GPSDateTimeand run exiftool img.jpg -GPSDateTime="2000:05:09 11:00:00.11Z" -overwrite_original
but when I run exiftool img.jpg - I see date 2019:04:06 08:06:13.11Z

Then I ran exiftool img.jpg -a -s -G and I see two dates!
....
[XMP]           GPSDateTime                     : 2000:05:09 11:00:00.11Z
[Composite]     Aperture                        : 2.4
[Composite]     GPSAltitude                     : 130.4 m Above Sea Level
[Composite]     GPSDateTime                     : 2019:04:06 08:06:13.11Z
.....

How to set date 2000?
Title: Re: Two GPSDateTime tags. How to remove or edit them?
Post by: Phil Harvey on May 13, 2015, 06:26:08 PM
If you check the Composite tags documentation (https://exiftool.org/TagNames/Composite.html), you will see that the Composite GPSDateTime is not writable.  Instead, you must write the tags upon which it is based.

- Phil
Title: Re: Two GPSDateTime tags. How to remove or edit them?
Post by: Yanpas on May 13, 2015, 06:44:14 PM
Got the idea! Thanks a lot, Phil!
exiftool img.jpg -GPSDateStamp="2015:05:09"

King regards,
Yan