File: gps2xmp.args

package info (click to toggle)
libimage-exiftool-perl 11.16-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,024 kB
  • sloc: perl: 245,177; xml: 120; makefile: 9
file content (27 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#------------------------------------------------------------------------------
# File:         gps2xmp.args
#
# Description:  Argument file for copying GPS information from EXIF to XMP
#
# Usage:        exiftool -tagsFromFile SRCFILE -@ gps2xmp.args DSTFILE
#
# Requires:     ExifTool version 10.96 or later
#
# Revisions:    2009/01/09 - P. Harvey Created
#               2018/05/07 - PH Handle GPSDestLatitude/LongitudeRef tags
#
# Notes:     1) Most of the GPS tags are copied by the first argument, but
#               the XMP GPS coordinate and date/time tags are composites of
#               more than one EXIF GPS tag, so they are handled separately.
#
#            2) These arguments will not delete existing XMP tags which are
#               missing from the GPS.  The XMP GPS tags should be deleted
#               first with "-xmp:gps*=" if required.
#------------------------------------------------------------------------------
-XMP:all < GPS:all
-XMP:GPSLatitude < Composite:GPSLatitude
-XMP:GPSLongitude < Composite:GPSLongitude
-XMP:GPSDestLatitude < Composite:GPSDestLatitude
-XMP:GPSDestLongitude < Composite:GPSDestLongitude
-XMP:GPSDateTime < Composite:GPSDateTime
# end