ExifTool Forum

ExifTool => Newbies => Topic started by: calin on June 15, 2021, 04:39:06 AM

Title: Extracting all the GPS location tags
Post by: calin on June 15, 2021, 04:39:06 AM
Hi,

Seems like I can use

exiftool -time:all -G -a -s

to extract all the date/time related tags.

I would like to know what switches can I add to the same command in order to extract the GPS location tags as well.

Thanks.
Title: Re: Extracting all the GPS location tags
Post by: Alan Clifford on June 15, 2021, 07:32:49 AM
For my photographs

exiftool -a -G -gps* p340_1994.jpg

gives me
[EXIF]          GPS Version ID                  : 2.3.0.0
[EXIF]          GPS Latitude Ref                : North
[EXIF]          GPS Latitude                    : 51 deg 15' 15.61"
[EXIF]          GPS Longitude Ref               : West
[EXIF]          GPS Longitude                   : 0 deg 31' 45.86"
[EXIF]          GPS Altitude Ref                : Above Sea Level
[EXIF]          GPS Altitude                    : 101.0348205 m
[EXIF]          GPS Time Stamp                  : 12:09:51
[EXIF]          GPS Date Stamp                  : 2021:03:14
[XMP]           GPS Altitude                    : 101.034820457018 m
[XMP]           GPS Altitude Ref                : Above Sea Level
[XMP]           GPS Latitude                    : 51 deg 15' 15.61" N
[XMP]           GPS Longitude                   : 0 deg 31' 45.86" W
[XMP]           GPS Date/Time                   : 2021:03:14 12:09:51
[Composite]     GPS Altitude                    : 101 m Above Sea Level
[Composite]     GPS Date/Time                   : 2021:03:14 12:09:51Z
[Composite]     GPS Latitude                    : 51 deg 15' 15.61" N
[Composite]     GPS Longitude                   : 0 deg 31' 45.86" W
[Composite]     GPS Latitude Ref                : North
[Composite]     GPS Longitude Ref               : West
[Composite]     GPS Position                    : 51 deg 15' 15.61" N, 0 deg 31' 45.86" W
Title: Re: Extracting all the GPS location tags
Post by: Phil Harvey on June 15, 2021, 08:45:25 AM
You can also do this:

exiftool -time:all -location:all -G -a -s DIR

- Phil
Title: Re: Extracting all the GPS location tags
Post by: calin on June 15, 2021, 10:55:21 AM
Awesome, thank you both !!!!
Title: Re: Extracting all the GPS location tags
Post by: StarGeek on June 15, 2021, 11:46:17 AM
I should really pay attention to all the group 2 names.  Now I have to edit a few of my config files to add the Location group.