Error in GeoSetter: [minor] IFD1 pointer references previous

Started by cheerful, January 28, 2018, 10:32:06 PM

Previous topic - Next topic

cheerful

I'm using GeoSetter.  So sorry if this i the wrong place to report this issue.

Windows 10 64-bit, exiftool 10.77

2 different errors are seen when saving GPS tags.  The error and images are attached.

Error: [minor] IFD1 pointer references previous GPS directory (from image 1)

exiftool.exe  -@ "C:\Temp\et054ABD1C.arg" "image1.jpg"

-EXIF:DateTimeOriginal=2017-04-15T11:34:32Z
-EXIF:TimeZoneOffset=
-XMP:DateTimeOriginal=2017-04-15T11:34:32Z+00:00
-EXIF:GPSLatitude=40.75490780
-EXIF:GPSLongitude=-74.17850790
-EXIF:GPSLatitudeRef=N
-EXIF:GPSLongitudeRef=W
-EXIF:GPSMapDatum=WGS-84
-EXIF:GPSVersionID=2.2.0.0
-EXIF:GPSDateStamp=2017:04:15
-EXIF:GPSTimeStamp=11:34:32
-XMP:GPSLatitude=40.75490780
-XMP:GPSLongitude=-74.17850790
-XMP:GPSVersionID=2.2.0.0
-XMP:GPSMapDatum=WGS-84
-XMP:GPSDateTime=2017-04-15T11:34:32Z
-XMP:Creator=
-XMP:AuthorsPosition=
-XMP:CountryCode=
-XMP:Country=USA
-XMP:State=NJ
-XMP:City=Newark
-XMP:Location=Sacred Heart Cathedral
-XMP:Artist=
-XMP:Description=
-XMP:Instructions=
-XMP:Title=
-XMP:Headline=
-XMP:Credit=
-XMP:Rights=
-XMP:CaptionWriter=
-XMP:Source=
-XMP:BaseUrl=
-XMP:Category=
-xmp:rating=
-xmp:ratingpercent=
-XMP:Label=
-XMP:CreatorAddress=
-XMP:CreatorPostalCode=
-XMP:CreatorCity=
-XMP:CreatorRegion=
-XMP:CreatorCountry=
-XMP:CreatorWorkTelephone=
-XMP:CreatorWorkEmail=
-XMP:CreatorWorkURL=



Error: [minor] IFD1 pointer references previous InteropIFD directory (from image 2)

exiftool.exe  -@ "C:\Temp\et054ABD1D.arg" "image2.jpg"

-EXIF:DateTimeOriginal=2017-11-03T15:29:25.69Z
-EXIF:TimeZoneOffset=
-XMP:DateTimeOriginal=2017-11-03T15:29:25.69Z+00:00
-EXIF:GPSLatitude=40.75490780
-EXIF:GPSLongitude=-74.17850790
-EXIF:GPSLatitudeRef=N
-EXIF:GPSLongitudeRef=W
-EXIF:GPSMapDatum=WGS-84
-EXIF:GPSVersionID=2.2.0.0
-EXIF:GPSDateStamp=2017:11:03
-EXIF:GPSTimeStamp=15:29:25
-XMP:GPSLatitude=40.75490780
-XMP:GPSLongitude=-74.17850790
-XMP:GPSVersionID=2.2.0.0
-XMP:GPSMapDatum=WGS-84
-XMP:GPSDateTime=2017-11-03T15:29:25Z
-XMP:Creator=
-XMP:AuthorsPosition=
-XMP:CountryCode=
-XMP:Country=USA
-XMP:State=NY
-XMP:City=New York
-XMP:Location=Avenues
-XMP:Artist=
-XMP:Description=
-XMP:Instructions=
-XMP:Title=
-XMP:Headline=
-XMP:Credit=
-XMP:Rights=
-XMP:CaptionWriter=
-XMP:Source=
-XMP:BaseUrl=
-XMP:Category=
-xmp:rating=
-xmp:ratingpercent=
-XMP:Label=
-XMP:CreatorAddress=
-XMP:CreatorPostalCode=
-XMP:CreatorCity=
-XMP:CreatorRegion=
-XMP:CreatorCountry=
-XMP:CreatorWorkTelephone=
-XMP:CreatorWorkEmail=
-XMP:CreatorWorkURL=

Phil Harvey

Yes, these images have problems:

> exiftool ~/Desktop/2017* -validate -warning -a
======== /Users/phil/Desktop/2017D0_Apr15_020.jpg
Validate                        : 23 Warnings (21 minor)
Warning                         : [minor] Odd offset for IFD0 tag 0x011a
Warning                         : [minor] Odd offset for IFD0 tag 0x011b
Warning                         : [minor] Odd offset for IFD0 tag 0x0131
Warning                         : [minor] Odd offset for IFD0 tag 0x0132
Warning                         : [minor] Odd offset for ExifIFD tag 0x829a
Warning                         : [minor] Odd offset for ExifIFD tag 0x829d
Warning                         : [minor] Odd offset for ExifIFD tag 0x9003
Warning                         : [minor] Odd offset for ExifIFD tag 0x9004
Warning                         : [minor] Odd offset for ExifIFD tag 0x9102
Warning                         : [minor] Odd offset for ExifIFD tag 0x9201
Warning                         : [minor] Odd offset for ExifIFD tag 0x9202
Warning                         : [minor] Odd offset for ExifIFD tag 0x9204
Warning                         : [minor] Odd offset for ExifIFD tag 0x9205
Warning                         : [minor] Odd offset for ExifIFD tag 0x920a
Warning                         : Non-standard format (string) for ExifIFD 0x9286 UserComment
Warning                         : [minor] Odd offset for ExifIFD tag 0x9286
Warning                         : [minor] Unknown GPS tag 0x0103
Warning                         : [minor] Unknown GPS tag 0x011a
Warning                         : [minor] Unknown GPS tag 0x011b
Warning                         : [minor] Unknown GPS tag 0x0128
Warning                         : [minor] Unknown GPS tag 0x0201
Warning                         : [minor] Unknown GPS tag 0x0202
Warning                         : IFD1 pointer references previous GPS directory
======== /Users/phil/Desktop/2017K0_Nov03_001.jpg
Validate                        : 9 Warnings (3 minor)
Warning                         : Non-standard format (int32u) for ExifIFD 0x9208 LightSource
Warning                         : [minor] Odd offset for ExifIFD tag 0x9292
Warning                         : Wrong IFD for 0x0103 Compression (should be IFD0 not InteropIFD)
Warning                         : Wrong IFD for 0x011a XResolution (should be IFD0 not InteropIFD)
Warning                         : Wrong IFD for 0x011b YResolution (should be IFD0 not InteropIFD)
Warning                         : Wrong IFD for 0x0128 ResolutionUnit (should be IFD0 not InteropIFD)
Warning                         : [minor] Unknown value for ExifIFD:SensingMethod
Warning                         : [minor] Unknown value for ExifIFD:SceneType
Warning                         : IFD1 pointer references previous InteropIFD directory


... but I don't know why you are reporting this here.  The problem is with whatever software was used to write these images (it wasn't ExifTool).

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

cheerful

Sorry.  I see.  Some of them are from camera and some are from the phone.  Is there any way to fix them?  What tag do I need to remove, for example?

Thanks

Phil Harvey

Oh, I see.  You can add the -m option when writing with ExifTool to fix most of these problems.  I don't know if you can add this option via GeoSetter, but if not, try a command like this:

exiftool -forcewrite=exif -m FILE

But note that some of the corrupted information may be lost.

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

cheerful

Hi, Phil,

There is no way to add that option.  I tried on the command line (with serveraland got the below.  Is there any option command option that I'm missing?

Thanks for your help!

Warning: Tag 'forcewrite' is not defined
Nothing to do.

Phil Harvey

Quote from: cheerful on January 29, 2018, 10:39:52 PM
Warning: Tag 'forcewrite' is not defined

You need ExifTool 10.65 or later for this feature.

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

cheerful

Yeah, worked.  There is some issues with Geosetter updating exiftool but I'm happy with the manual update.

Thanks a lot, Phil!