value in the same field under different tag name.

Started by Archive, May 12, 2010, 08:54:46 AM

Previous topic - Next topic

Archive

[Originally posted by whisere on 2010-03-17 18:38:47.128133-07]

Thanks again for answering my last question!

I notice there are GPSLatitude GPSLongitude tag under exif, xmp-exif and gps tag, It seems applications use different tags for gps information, eg I got image that only have GPSLatitude GPSLongitude under gps tag, some only have under xmp-exif tag. is there command to read GPSLatitude GPSLongitude etc not regarding to the group they belong to?

if we use exiftool -GPSLatitude
Which tag group is it getting from, is it getting from gps tag or it will search from gps, xmp-exif and exif?

to make them all consistent do we need to write the same value to all these tag? is there command to write back to GPSLatitude GPSLongitude etc under all tag group (gps, xmp-exif, exif)? or exiftool -GPSLatitude=... is already working that way?

Many thanks!

Archive

[Originally posted by exiftool on 2010-03-18 04:16:23.177275-07]

You can use -G1 to see where the tags are coming from,
and -a to extract duplicate tags if they exist.

Just specifying -gpslatitude will extract either the
EXIF GPS version or the XMP-exif version, whichever exists.
If both exist, it will extract the last one found in the file,
which should be the XMP-exif version for JPEG images
written according to the EXIF spec.

When writing, you only need to write gpslatitude
and all versions will be updated, and the tag is added to
EXIF if it doesn't already exist there.  Or you can write a
specific version with exif:gpslatitude or
xmp:gpslatitude.  This is all explained
in the application documentation.

- Phil