Mike Chaney's Tech Corner
April 18, 2024, 06:48:13 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Qimage registration expired? New lifetime licenses are only $59.99!
 
   Home   Help Search Login Register  

Professional Photo Printing Software for Windows
Print with
Qimage and see what you've been missing!
Pages: [1]
  Print  
Author Topic: GPS in EXIF  (Read 2258 times)
CHoffman
Full Member
***
Posts: 173


View Profile Email
« on: November 26, 2021, 01:23:28 AM »

For the first time I connected my phone GPS to my camera. The Lat/Long are definitely now in the image, including seconds. Qimage only reports zeros for the seconds, and the position shown in Google Maps is off by a fair amount, about the amount of the missing seconds! Any chance of getting better resolution in a future update? Do you need a file?
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4120



View Profile Email
« Reply #1 on: November 26, 2021, 01:25:40 PM »

This sounds like a phone or phone-to-camera problem.  All GPS info on all photos I've seen go down to the seconds.  In fact, two decimal places of the seconds.  When I take a photo with my phone, I can tell what room of my house I'm in!

But yes, you can send a link to a sample photo and I can look at it.

Regards,
Mike
Logged
CHoffman
Full Member
***
Posts: 173


View Profile Email
« Reply #2 on: November 26, 2021, 05:24:52 PM »

Here's my Thanksgiving image, plus a screenshot of what I see in Affinity. I can also see the seconds if I use the Windows "properties" tab.

http://www.conradhoffman.com/rawtest/211125 TDay.jpg
http://www.conradhoffman.com/rawtest/GPS Affinity.jpg

Not sure how to force those to be links with the spaces. Couldn't seem to make %20 or <> work.

Thanks,
Conrad
« Last Edit: November 26, 2021, 05:38:34 PM by CHoffman » Logged
admin
Administrator
Forum Superhero
*****
Posts: 4120



View Profile Email
« Reply #3 on: November 26, 2021, 08:04:20 PM »

Thanks for the file.  Your file has a zero in the seconds field for both GPS longitude and GPS latitude so Qimage is displaying the data as-is: as it is written in the EXIF header.  I did some research on the problem and found that some devices incorrectly write "0.00" in the seconds field and instead store the seconds as the fractional part in the minutes field.  You can then "calculate" the missing seconds by taking the fractional part of the minutes field and multiplying by 60.  Apparently people were complaining that iPhones do this: are you using an iPhone?  In any case, I've implemented the workaround (which is what I assume Affinity and others are doing) and it works.

See the attached screenshot from the updated QU.  This will go out in the next 112 version, likely within the next week; not going to push a new version for just this fix but it'll be incorporated into 2022.112 whenever that comes out.

P.S.  This is the first time I've seen this.  Not sure why any device would write "0.00" into the seconds field just to store it in the fractional part of the minutes field because all three fields are required in EXIF: hours, min, sec.

Regards,
Mike
Logged
CHoffman
Full Member
***
Posts: 173


View Profile Email
« Reply #4 on: November 26, 2021, 08:16:18 PM »

Very cool! No iPhone here, just Moto Android. It's interesting that "properties" in Windows file explorer also shows the correct values. It's probably one of those many programming oddities and reminds me of this quote from the movie Christmas Story-

Mr. Parker:
What is the name of the Lone Ranger's nephew's horse?

Mother:
Ah... Victor! His name is Victor.

Mr. Parker:
How the hell did you know that?

Mother:
Everybody knows that!

Anyway, thanks! It's nothing critical and can wait for whenever. I don't usually link the phone GPS, though I can see where it would have been handy for shots when I go out hiking. Not enough $$ for a camera with built-in GPS.
CH
Logged
admin
Administrator
Forum Superhero
*****
Posts: 4120



View Profile Email
« Reply #5 on: December 03, 2021, 08:25:37 PM »

2022.112 was just released: adds the ability to see seconds on these photos that store seconds in the "minutes" field.

Mike
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Security updates 2022 by ddisoftware, Inc.