bioneural.net site preferences

Accessibility

Toggle width/ text size:

style

Default/Alternate

Suits visual impairment, mobile devices

Styling

Change the theme:

layout

NB: may reduce functionality

Link behaviour

Links with an icon are off-site:

links

Right-click any link to optionally open in a new window or tab


 

Geotagging your images in iPhoto

When writing about geocaching I mentioned that I'd heard of geotagging—but I hadn't made use of it. I've also posted about various ways to keep track of places you've been, including utilising Google Maps. I like to catalogue my travel pictures in iPhoto, but know of no way to integrate iPhoto and Google Maps. But you can use Google Earth to display geotagged photos in your iPhoto Library—even if you don't have a GPS device to record coordinates.

Add GPS coordinates via Google Earth

  • Download Craig Stanton's Geotagger (freeware, Universal) and install it in your OS X Dock;
  • Open Google Earth and centre the map on the area with which you wish to associate the photo(s);
  • Open iPhoto and drag the photo(s) for tagging onto Geotagger's icon in the dock;
  • Geotagger should launch then quit;
  • To check that the coordinates were applied drag the photo from iPhoto to Preview in the Dock and use Command-I or the Tools menu to Get Info (Get Info in iPhoto is too limited);
  • In the details pane you should now see a GPS Properties section with coordinates.

Geotagging

Note: iPhoto is optional as Craig's app works with photos dragged from anywhere.

The GPs coordinates are approximate. If you zoom in using Google Earth to get as "close" as possible to your location at ground level accuracy should improve! It also helps if you can search Google Earth for a specific location e.g. ""Guilin, China".

But wait: there's more. Now that your images are geotagged you'll want to share them, right? Craig's got that covered too.

Upload from iPhoto to Google Earth

Now that your photos "know" where they were taken you can share them with your Google Earth-loving friends, enabling them to trace your photographic journey. You can even include a link (a blog posting, for example) to a trip report or journal on your website.

  • Download and install Craig Stanton's iPhotoToGoogleEarth plugin for iPhoto 6 (freeware, Universal);
  • With the photo selected in iPhoto, choose Export from the File menu and navigate to the iPhotoToGoogleEarth tab;
  • Name the placemark and in the description include a hyperlink to your online article;
  • Click Export to save to a KMZ placemark file (compressed KML files as used by Google Earth).

Export

E-mail the exported KMZ files to your friends. Once loaded into Google Earth they can click on the placemarks to see your photos, and in the sidebar see the links you have included should they wish to follow them:

Placemarks

Very clever Craig. And made in New Zealand too!

9 responses to Geotagging your images in iPhoto


  1. 1 Kevin S.

    Very cool tip. Maybe one day I'll get around to geotagging my photos. Thanks.

  2. 2 Bruce

    Could involve a lot of work Kevin! At least you can select multiple pics in iPhoto and drag them onto Geotagger. I figure the easiest way to batch-tag a lot of images would be to select (say) all the pics from China with Google Earth centred on a search for "Beijing, China". Do this for each country capital (or city) you have taken pictures in.

  3. 3 rdiggle

    To improve the accuracy of using Google Earth, what I did was use the mouse cursor to the exact location on the map I want to have the photos tagged, then while remembering the co-ordinates in my head--don't worry, it's only the decimals that you'll need to remember) move the mouse cursor away from the Google Earth window and then use the cursor keys to match the same co-ordinates I have in my head.

    Sounds a bit basic, but I can't find any other way.

  4. 4 Bruce

    [quote post="653"]Sounds a bit basic, but I can't find any other way.[/quote]

    If you're using Geotagger download a crosshair to help mark the correct spot; there's a screen capture of it in action here, under manual geo-locating.

  5. 5 rdiggle

    Just found a set of crosshairs you can download for Google Earth--it's written on Craig Stanton's website. Much easier!

  6. 6 William Gaddis

    Alas, as Craig points out, dragging the photos from iPhoto will not help with '09s mapping function as it seems the programme does not update the relevant data. Anyone know how to obviate this problem (for those of us who import directly into iPhoto)?

  7. 7 Bruce

    [quote post="653"]Anyone know how to obviate this problem[/quote]

    I hear that the bug where iPhoto failed to update cached EXIF data persists in the '09 version William. It's hard to believe Apple didn't fix that given the grief it has caused developers. Until they do I don't think there will be a workaround that involves iPhoto. Your best bet is to geotag before importing to iPhoto, using something like HoudahGeo (which I've just reviewed).

  8. 8 Peter

    I have problems sending geotagged photos from iPhoto via mail: the geoinformations are not mailed with the photos. Is this an other bug?

  9. 9 Bruce

    @Peter, certainly in iPhoto 7.x/ Mail 3.5 geodata are preserved whether you resize the attached image or not (I just confirmed this using images tagged before import). It may be relevant whether these are images that you have geotagged before importing to iPhoto, or since. If the former I would expect it to work, but if you geotagged after import I suspect this is related to the known issue with iPhoto failing to update its metadata cache. One other thing to try would be to "Show in Finder" your geotagged image to get it out of iPhoto and resize it for e-mail using a tool like GraphicConverter, which definitely will preserve metadata—this should tell you whether it's a cache issue or not.

Something to say?

Comments may be moderated, are subject to spam filtering, and should be inoffensive and relevant to this post. Please disclose commercial interests.

Usable tags include <a href=""> <blockquote> <em>.