-E escapes twice

Started by Storhaug, October 31, 2010, 10:07:42 AM

Previous topic - Next topic

Storhaug

I think, the option -E escapes GPS data twice in some cases:

$ exiftool -GPSLatitude -GPSLongitude -GPSPosition Picture/20100808-130200-p.jpg
GPS Latitude                    : 58 deg 58' 25.30" N
GPS Longitude                   : 5 deg 43' 32.10" E
GPS Position                    : 58 deg 58' 25.30" N, 5 deg 43' 32.10" E

$ exiftool -E -GPSLatitude -GPSLongitude -GPSPosition Picture/20100808-130200-p.jpg
GPS Latitude                    : 58 deg 58' 25.30" N
GPS Longitude                   : 5 deg 43' 32.10" E
GPS Position                    : 58 deg 58' 25.30" N, 5 deg 43' 32.10" E

$ exiftool -E Picture/20100808-130200-p.jpg | grep GPS
GPS Version ID                  : 2.3.0.0
...
GPS Latitude                    : 58 deg 58' 25.30" N
GPS Longitude                   : 5 deg 43' 32.10" E
GPS Position                    : 58 deg 58' 25.30" N, 5 deg 43' 32.10" E


exiftool version 8.34 on Fedora 13.
I can provide a sample jpg.

Phil Harvey

Thank you for this bug report.  I was able to reproduce that problem and have just released ExifTool 8.37 which should fix this.

- 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 ($).

Storhaug