mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
23 lines
1020 B
Plaintext
23 lines
1020 B
Plaintext
#------------------------------------------------------------------------------
|
|
# File: xmp2gps.args
|
|
#
|
|
# Description: Argument file for copying GPS information from XMP to EXIF
|
|
#
|
|
# Usage: exiftool -tagsFromFile SRCFILE -@ xmp2gps.args DSTFILE
|
|
#
|
|
# Revisions: 2009/01/09 - P. Harvey Created
|
|
#
|
|
# Notes: Most of the GPS tags are copied by the first argument, but
|
|
# the coordinate references and date/time values are stored
|
|
# separately in EXIF, so they must be handled separately.
|
|
# A bit of magic is employed by exiftool to extract the date
|
|
# and time parts respectively when writing date-only and
|
|
# time-only tags with a date/time value.
|
|
#------------------------------------------------------------------------------
|
|
-GPS:all < XMP-exif:all
|
|
-GPS:GPSLatitudeRef < Composite:GPSLatitudeRef
|
|
-GPS:GPSLongitudeRef < Composite:GPSLongitudeRef
|
|
-GPS:GPSDateStamp < XMP-exif:GPSDateTime
|
|
-GPS:GPSTimeStamp < XMP-exif:GPSDateTime
|
|
# end
|