Using GPX Tracks to Geotag Photos with Places in Aperture 3
What are GPX Files and How to Create Them
I do a lot of exploring and geotagging of my images using Places in Aperture 3; it's a great way to catalog where I've been. It not only gives me the ability to look up where a specific image was captured, but can benefit the images online with increased SEO performance. Aperture has a great feature that lets you sync your location with estimated location coordinates taken from images captured on an iPhone. But for people like me who forget to snap a photo with your iPhone, there's another approach using a GPS device that automatically tracks your location.
So first, what exactly is a GPX file and how do you create them? In basic terms, as you move around a location a GPS enabled device will periodically connect to the GPS satellites in space to determine and log your location. All of your logged locations together make up your track, which is stored in a .GPX file that can then be used to sync up with your photos to quickly geotag them within Aperture. In the past I have mostly created GPX tracks with a dedicated GPS unit designed for hikers and explorers to navigate and log their locations. Lately, I have been experimenting using my iPhone and the app Trckr to create GPX files. Both methods will work but come with their own pros and cons. From my experience the dedicated GPS units are clunky, complicated, and have terrible user interfaces. The benefits are that they have their own dedicated battery that will last much longer than an iPhone, and tend to be slightly more accurate. The apps I've used on my smartphone however have much better interfaces and are much easier to use. The major downside to using a smartphone for creating GPX tracks is that it drains your battery quickly and tends to be slightly less accurate.
Time Sync Your Devices
Before I go out on a shoot where I know I'm going to geotag the resulting images, the first thing I do is check the clock on my camera to make sure it matches the time listed on my GPS enabled device. This is key; Aperture will use the time stamps in the image file to sync up with the locations in the GPX file. If you forget to set your camera's clock before you go out, there is something you can do to prepare your images before geotagging them in Places—you can use the Adjust Date and Time command to fix the times after the fact.
To use Adjust Date and Time, select all of the images you want to change. Navigate to the command under the file menu Metadata > Adjust Date and Time. That opens a dialog that will allow you to modify the time appropriately. The dialog will display just one of your images (the primary selection); make the appropriate change to the capture time listed in the window and select “Adjust”, and this will make the same adjustment to all of the selected images. If your camera was set to 9:01:25 AM, and you then adjusted it to 9:06:25 AM, it would adjust all of the images by 5 minutes, not just the image in the window.
If you select “Also change original files”, then the original RAW/JPG files will have their EXIF metadata changed as well. I recommend doing this; you may as well correct the files everywhere.
Steps to Geotag Your Images
If you haven't already done so you now need to retrieve the .GPX track file from your GPS device. The procedure for this varies by device, and you can store the file anywhere you want that is accessible by the finder.
In Aperture, find the images from your shoot and open them in Places. Click on the GPS drop down button at the bottom of the window and select Import GPS Track. Now navigate to the file in the finder and choose the track file.
The map in Places should have automatically zoomed in to the locations' geographical region of your track and your track is shown as a purple line on the map. To sync up your photos you now need to choose an image and drag it onto the purple track line and find its location based in time. A popup info box will appear below a pin for the photo telling you where the photo was in conjunction to the time stamp of the GPX track. Assuming the two are in sync, you will want to move your photo until the time stamp displays 0 Hours / 0 Minutes. This is frankly an inconvenient part of this process because it should be automatic, and I'm hoping this will be easier in a future version of Aperture.
A new dialog box will appear at the bottom of the map window that will give you the option to automatically geotag the remaining images. Click on the Assign location button to do so and the rest of your images will be automatically added to the Places map and geotagged for you.
Once your images have been tagged, a red pin will appear above the image in the film strip as seen in the screenshot below.
Geotagging your images with Aperture is not only convenient but also very informative. The images on the map are a virtual place holder of where you have been and where you have yet to go. Make sure to set the time in your camera to match up with your GPS enabled device before you go out; otherwise you will have to compensate after the fact. Have fun tagging and exploring!