Extracting all the GPS location tags

Started by calin, June 15, 2021, 04:39:06 AM

Previous topic - Next topic

calin

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.

Alan Clifford

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

Phil Harvey

You can also do this:

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

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

calin


StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype