ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: davemosk on July 02, 2022, 06:50:12 PM

Title: Samsung Galaxy S22 GPS data missing
Post by: davemosk on July 02, 2022, 06:50:12 PM
Hello,

I'm having issues getting exiftool to extract GPS data from photos taken with my Samsung Galaxy S22 pre-installed camera app.  Imagemagick's identify has the same issue.  Oddly, Windows 10 can extract this info - see attached screenshot.

dave@hutt  ~/e/Image-ExifTool-12.42  ./exiftool -ver                                                         1 ✘  10:47:57 AM
12.42
dave@hutt  ~/e/Image-ExifTool-12.42  ./exiftool ~/Downloads/20220522_153040.jpg | grep GPS                     ✔  10:48:00 AM
GPS Latitude Ref                : Unknown ()
GPS Longitude Ref               : Unknown ()
GPS Altitude Ref                : Above Sea Level
GPS Latitude                    :
GPS Longitude                   :

Is this a known issue? Thanks!
Title: Re: Samsung Galaxy S22 GPS data missing
Post by: StarGeek on July 02, 2022, 07:43:01 PM
Can you provide a sample image? 
Title: Re: Samsung Galaxy S22 GPS data missing
Post by: Neal Krawetz on July 02, 2022, 11:20:31 PM
I've seen many of those. It's not specific to Samsung, but is common for Android.
Here are a few examples:
  https://fotoforensics.com/analysis.php?id=003618568f02a58e8e112bc7ef370974a4b50231.2827007&fmt=orig
  https://fotoforensics.com/analysis.php?id=003b187b6b928c9f44cdb395810562a3fc5c40e2.2319893&fmt=orig

The GPS has been erased.
I don't know if it did exist but some app removed it, or if this version of Android just writes null records as a placeholder.
Either way, the EXIF fields definitely do exist. They either have 0 or null set for the values.
Title: Re: Samsung Galaxy S22 GPS data missing
Post by: StarGeek on July 03, 2022, 12:29:29 AM
It's not an issue with exiftool.  The image I looked at had the Software tag filled with "MediaTek Camera Application", which doesn't sound like the default camera app.  It looks like the data isn't being written.
Title: Re: Samsung Galaxy S22 GPS data missing
Post by: Neal Krawetz on July 03, 2022, 07:39:29 AM
MediaTek is the default camera on some Androids (particularly in Asia).