Unexpected Behavior When Updateing Composite:GPSPosition#

Started by Cactus26, May 09, 2023, 03:39:19 AM

Previous topic - Next topic

Cactus26

I happened to come across an unclean feature: When I update tag Composite:GPSPosition this works fine for the formatted value, but not for the internal ("num") value:
ExifTool FILE -1Composite:GPSPosition="1.1,2.2"
ExifTool FILE -1Composite:GPSPosition#="1.1 2.2"
In the second case there is the message "1 image files updated", which is not true, because the tag was removed. I would actually expect that the 2nd case also works (or at least there is an error message). I do not think it is because of the file.
-- Cactus

Phil Harvey

Interesting.  Yes, writing numerical values to GPSPosition does have a bug.  Thanks.  I'll 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 ($).