ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on November 15, 2023, 04:14:54 PM

Title: XMP-drone-dji:GPSLongtitude created when using -GPSLong*
Post by: StarGeek on November 15, 2023, 04:14:54 PM
Not sure why I haven't noticed this before, but XMP-drone-dji:GPSLongtitude is not marked as avoid and it is created when using a wildcard such as -GPSLong*, which seems to break the preferred location rule.

Example:
C:\>exiftool -P -overwrite_original -all= -gpslat*=40.6892 -gpslong*=-74.0445 y:\!temp\Test4.jpg
    1 image files updated

C:\>exiftool -G1 -a -s -e -gps* y:\!temp\Test4.jpg
[GPS]           GPSVersionID                    : 2.3.0.0
[GPS]           GPSLatitudeRef                  : North
[GPS]           GPSLatitude                     : 40 deg 41' 21.12"
[GPS]           GPSLongitudeRef                 : West
[GPS]           GPSLongitude                    : 74 deg 2' 40.20"
[XMP-drone-dji] GPSLongtitude                   : 74 deg 2' 40.20" W

Going back through older versions, the change happened between 11.24 and 11.28 (I don't have copies of the other versions), though it is likely to be 11.27 as that is when Added support for more XMP-dji-drone tags (https://exiftool.org/ancient_history.html#v11.27) appears.

And now I'm only just realizing that there's an extra t.  Does this tag actually exist or is it just a misspelling?
Title: Re: XMP-drone-dji:GPSLongtitude created when using -GPSLong*
Post by: Phil Harvey on November 15, 2023, 09:17:12 PM
Ooops!  Thanks!!  That typo exists in some of the DJI software versions, and I didn't mark it as Avoid because it is the only tag with that name.  I hadn't considered the use of wildcards.  I'll fix this in the next release.

- Phil
Title: Re: XMP-drone-dji:GPSLongtitude created when using -GPSLong*
Post by: StarGeek on November 15, 2023, 10:13:18 PM
To be fair, it's my laziness in only typing -GPSLat* and -GPSLong* that brought this up.  I don't think I've actually suggested these as shortcuts on the forums.