MacTelChat     

Welcome to MacTelChat

You are currently viewing our site as a guest which gives you limited access. By joining our free community you will be able to post topics, communicate privately with other members, respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   MacTelChat > MTC Labs > Tips 'N' Tricks

Comment
 
Tip Tools Display Modes
Enable the hidden iPhoto Google Maps geotagging feature
Old
  (#11 (permalink))
javester
Administrator
 
javester's Avatar
 
Status: Offline
Posts: 209
Join Date: Mar 2006
Enable the hidden iPhoto Google Maps geotagging feature - 10-03-2006, 01:28 PM




UPDATE: New version of InfoPanel.nib file is now available that doesn't...



Last edited by javester : 10-05-2006 at 08:18 AM.
   
Reply With Quote
  #8 (permalink)  
IntrepidAntipodean on 10-05-2006, 01:39 PM
Oh by the way, I did a little more digging in iPhoto, there are references to setGPSLatitude and _updateGPSInfo, which is a much bigger sign of some advance in GPS coding. It's easy to read the data and link to Google Maps, it's harder to fetch and insert the data. It'll wipe out the need for my little add-ons, but I'd really like to see an official Apple solution.
Reply With Quote
  #9 (permalink)  
javester on 10-08-2006, 08:37 AM
There is a bug in iPhoto after all...

Quote:
Originally Posted by javester View Post
Wow! Good call IntrepidAntipodean!

My bad on the iPhoto Lat/Lon non-bug . You see, I'm a GPS EXIF hacking newbie.

But the cosmetic issue of decimals for all the units is still valid, right?

Also, what about the Altitude? I entered 2m Above Sea Level and iPhoto still displays 1m.

And thanks heaps for the new InfoPanel.nib!!!
It turns out that iPhoto reads the GPS coordinates properly on PowerPC machines but not on Intel Macs.

I sent my test pic to my iMac G5 and it displayed the expected coords.

Just to be sure, I even reinstalled iPhoto on my MBP to make sure that I didn't accidentally corrupt it while I was poking around but the coordinates were still not being displayed properly.
Reply With Quote
  #10 (permalink)  
IntrepidAntipodean on 10-08-2006, 02:18 PM
That's an odd result. I don't have a MacTel to test it on myself, but as far as I know the tagged images I have sent to an iMacTel have been working fine. I'll check again to confirm it because I can't explain why it would only be going wrong on one machine.
Reply With Quote
  #11 (permalink)  
IntrepidAntipodean on 10-09-2006, 02:23 AM
Here's some pretty compelling proof that iPhoto is doing something iffy, there really shouldn't be that many seconds, it should roll over to minutes once it reaches 60. Pity that, fingers crossed the uptick in GPS interest will make the fix higher priority for iPhoto 6.0.6

Attached Images
File Type: jpg Picture 5.jpg (11.8 KB, 906 views)
Last edited by javester : 10-10-2006 at 11:48 AM.
Reply With Quote
  #12 (permalink)  
javester on 10-10-2006, 12:01 PM
Quote:
Originally Posted by IntrepidAntipodean View Post
Here's some pretty compelling proof that iPhoto is doing something iffy, there really shouldn't be that many seconds, it should roll over to minutes once it reaches 60. Pity that, fingers crossed the uptick in GPS interest will make the fix higher priority for iPhoto 6.0.6
And I also revisited my original post about the iPhoto EXIF decoding bugs.

And yes, there is definitely a bug there. I didn't encode the GPS coords wrong after all. The rational number data entry scheme applies to EXIV2. I used ExifTools to encode mine.

To be sure, I compiled a copy of Exiv2 and then have it read the coords of my test pic with the ExifTools encoded coordinates and they matched.

When I fired up iPhoto on my MBP, both versions displayed the wrong coords.

The strange thing though is both the Exiv2 and ExifTools encoded versions of the picture showed the GPS coords fine on my iMac G5.
Reply With Quote
  #13 (permalink)  
javester on 10-10-2006, 12:29 PM
Filed bug report with Apple

Its Bug ID# 4775336 at radar.apple.com. But forget about finding it.

I hate to go off on a tangent here, but I just wish Apple uses something like Bugzilla instead of their own WebObjects-based bug-reporting system.

The current one is just too clunky and restrictive and doesn't promote "more eyeballs" looking at existing bug reports.

It didn't allow me to search existing bug reports and it only allowed me to create and track my own reports and nobody else's.
Reply With Quote
  #14 (permalink)  
douglsmith on 10-11-2006, 10:00 PM
Here's another data point that may be useful. I have some photos taken with a GPS enabled Ricoh Caplio Pro G3 camera. The camera wrote the GPS EXIF data into the file so it has more data than I would have encoded manually (such as speed and which satellites were locked in) and doesn't have human errors from me.

I have attached a test photo in case anyone wants it for experiments. The only processing on the file was to reduce the size in Photoshop so it would be small enough for the upload limits here.

I loaded that picture into iPhoto version 4 or 5 back when I was running a PowerPC Mac. That iPhoto library has now been migrated to an Intel Mac. The lat/lon for it displays correctly in iPhoto on the Intel Mac as 42.00 22.00' 13.68"N, 88.00 59.00' 40.57" W. However, none of my photos seem to show anything for altitude other than 1.00 m (or -1.00 m if there is no altitude recorded.)

If I take that same photo file and load it into iPhoto again on the Intel Mac, it changes the lat/lon displayed to 42.00 22.00' 0.88"N, 88.00 59.00' 2.17" W, which has incorrect seconds.

iPhoto doesn't seem to modify the file. I can open the imported file in another application and the EXIF data seems to be fine. So iPhoto may be storing the GPS info somewhere on import.

I tried all of this with an unmodified iPhoto.

Attached Images
File Type: jpg GPS test Caplio ps.jpg (38.1 KB, 899 views)
Last edited by javester : 10-12-2006 at 09:33 AM. Reason: Put img_left tag to display attachment
Reply With Quote
  #15 (permalink)  
javester on 10-12-2006, 09:47 AM
Doug,
Thanks for the test picture. This should really help with testing iPhoto GPS support.

The more I look into it, the more I suspect that iPhoto's engineers are still working hard on this one. There are just too many bugs even with the official GPS EXIF display on the Info Panel.

And one more data point, Samac's Mac Mini, which still has iPhoto 6.0.4 released June 20 of this year, also has the hidden Google Maps Show button with the same GPS decoding problems which leaves me to believe that the GPS code has been sitting fallow for a while.

Here's hoping that our accidental discovery bumps up GPS support for iPhoto 7 come MacWorld '07.
Last edited by javester : 10-12-2006 at 09:52 AM.
Reply With Quote
  #16 (permalink)  
barec2 on 10-12-2006, 04:59 PM
As somone who imm. recognized where that photo was taken I can add a little information. I've lived in Cape May for nearly 20 yrs and the location of the photo was, until recently, 3-4 years ago right at the high water mark. thereby making it both on and offshore dep[ending upon the time of day. Hope that is of interest. Also please get in touch the next time you're in the area.
Reply With Quote
  #17 (permalink)  
javester on 10-13-2006, 10:11 AM
Quote:
Originally Posted by barec2 View Post
As somone who imm. recognized where that photo was taken I can add a little information. I've lived in Cape May for nearly 20 yrs and the location of the photo was, until recently, 3-4 years ago right at the high water mark. thereby making it both on and offshore dep[ending upon the time of day. Hope that is of interest. Also please get in touch the next time you're in the area.
Hi Barec2!
My wife and I were there Memorial Day Weekend and just had a blast! Cape May was really a treat, even with the huge crowd that descended on the town.
Perhaps you might have seen us, - we were the couple on the Segway .

And staying on topic, I even had my Garmin Quest mounted on the Seg and the tandem bike we rented all weekend. Its a shame I didn't keep the GPS track though since it would have been a great way to test and demo geocoding.
Last edited by javester : 10-13-2006 at 10:14 AM.
Reply With Quote
Comment


Tip Tools
Display Modes

Posting Rules
You may not post new tips
You may not post comment
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Copyright © 2006-2007 MactelChat.com
Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com