Adding GPS Coordinates to Photos’ EXIF data in OS X

As I mentioned in my last post, my Garmin eTrex Legend HCx has no real way to talk to my OS X laptop, where I do all of my photo processing. Since my Nikon D70s doesn’t support attaching a GPS to the camera and using it to embed GPS data in the EXIF tags, the fact that the USB connection on my Legend HCx wouldn’t be compatible with doing that is moot.

So, for a multitude of reasons, I can’t easily put my lattitude, longitude and elevation into my photos. The camera doesn’t support it, the GPS doesn’t support it and Garmin doesn’t support OS X. Luckily though, I’m not the only one that wants to do this. My friend Gowtham informed me of an application called GPSPhotoLinker which uses track logs to find the appropriate coordinates and enter that data into the photo’s EXIF data. (Track logs being a log stored by most GPS receivers containing information about longitude, latitude and elevation with a timestamp.)

Since my GPSr allows me to save these track logs to the microSD card I have installed, I can simply use a card reader to pull the logs. (Fear not though, the program claims to support pulling them off the device over USB.) Once I have the log on my machine, I simply load it into the program via the button at the top of the screen.

GPSPhotoLinker

After that, load the photos. Upon going to the batch menu, you’ll be presented with some options. You can tell the program to ignore images with location data already in the EXIF tags (which I recommend) and set tolerances for how close a track point must be to the timestamp in the photo’s EXIF data. You can also set it to link to the nearest track point or a time-weighted average point.

GPSPhotoLinker - Batch menu

Once you’re done, simply push the “Batch save to photos” button and sit back while you wait.

Garmin eTrex Legend HCx

In mid-July, Garmin released an update to their eTrex Legend line with the eTrex Legend HCx, which is basically a Legend Cx with a high sensitivity chip. Garmin isn’t using the SiRFstar III in this unit, instead, they’ve gone with the MediaTek MT3. You can see a comparison of the two chips here. Basically, the MediaTek chip provides better accuracy while requiring less power. A real win for portable devices like the eTrex line.

eTrex Legend HCx

I knew going in that Garmin has horrible support on both Linux and OS X. In fact, basically the only thing you can do on OS X is upgrade the GPS receiver’s firmware. On Linux, well… don’t even bother. What I didn’t anticipate was the difficulty I’d have figuring their software out once I had it installed in Parallels on my Mac. While I got it working eventually, this isn’t something I’d expect my parents to figure out. What’s more, Garmin’s GPS receivers that use USB interfaces (like the Legend HCx) don’t output NMEA data streams. And of course, it’s a closed spec, so don’t expect to hook your GPS up to anything besides Windows and get a data stream. So yeah, Garmin ignores everyone who doesn’t run Windows. Those of us who have been free of it for a while are used to that though.

How does the unit actually perform? That’s the important thing. Simply put, the reception is amazing. If you need to know the exact position of your toilet in a windowless bathroom to within 3 feet, this is the unit for you. The reception is great, the only place I’ve been with it where I can’t get a fix on my location is the basement of an 8 story building. That’s no surprise though as it is basically a concrete bunker. It handles my car, the woods, valleys and even canyons remarkably well. Besides spelunking, I wouldn’t hesitate to take it anywhere with me.

What about battery life? It’s pretty good as well. The Legend HCx runs on two AA batteries (I use rechargeable NiMH ones) and Garmin says you get 25 hours on a set. I’m seeing closer to 30 hours per charge, but I’m using 2650 maH batteries.

Storage isn’t a problem either. While the unit doesn’t have much built in, the microSD card slot in the battery compartment means effectively unlimited storage space for maps, tracks and routes. You’ll definitely want to take advantage of this storage to put better maps on the unit. The Legend HCx basemap is incredibly sparse and only shows major highways. Features on the landscape are often out of place as well… more than once the GPSr claimed I was walking in Lake Superior as I drove along the highway.

Auto-routing with the unit is pretty good… though it has it’s moments of sheer frustration. On a recent trip to Green Bay, the GPSr really wanted to route me over a particular bridge. There was only one problem… the bridge had been torn out to be replaced. I obviously couldn’t drive over it and the Legend HCx doesn’t have a way for me to tell it the bridge is gone (like on a Tom-Tom). So, I backtracked, drove to another bridge and crossed the river, at which time the Legend recalculated my route… and directed me back over the bridge. Luckily traffic wasn’t heavy at the time and I was able to use the street maps on the device to navigate my own way the last few miles. Beside that one incident though, the unit has been spot on using maps from Mapsource Metroguide (Garmin’s mapping software). Once a newer version of City Navigator is out, I’ll put out the $150 for that.

eTrex Legend HCx

All in all, I’ve found the Legend HCx to be a good product, and it is probably one of the best GPS receivers I’ve ever used. Garmin’s interface is easy to learns, the auto-routing is pretty good overall and it’s performance under cover (outside and in) is outstanding. This is a solid win for Garmin. For those considering buying one solely for auto-navigation: look at a Tom-Tom, you’ll probably be happier with one of those.

Has it been a month?

I guess it has been quite a while. Where to begin? I suppose work is always a good starting point. It’s been crazy in DCS (Distributed Computing Services) lately. Our new storage array (EMC again) arrived and we’ve been working on getting that set up. Thankfully, EMC pushed off their original date to come set it up (it was supposed to be yesterday) to this coming Monday giving me a little more time to finish the wiring. Our new fiber switches are in and installed along with new fiber trays to attach to our ladder rack. Tomorrow we should finish running the obscene number of cables required to get all 5 of our new cabinets on the network. Then we just have to configure the connections.

We’ve also been working on a number of other projects:

  • We moved one of the air conditioners to the middle of the data center and will be moving the other one once Telcom finishes moving their telephone racks. This should improve our cooling efficiency.
  • The second UPS and the flywheel will be installed soon – thankfully I have no responsibilities with either of these projects.
  • We’re beginning to run into space limitations in our racks and on our switches. Vendors are coming to help us decide what to do with our patch panels. Recabling those if we have to will keep me busy for the better part of a year. Hopefully they can suggest a way to simplify our cable management (we have 2Us of cable management for every 1U patch panel) that will leave our existing patch panels the way they are.
  • We’re looking at ways to seal our cool rows from our hot rows to increase the efficiency of the AC. We’ve been attempting to get big sheets of plexiglass mounted in the spaces between our populated racks, but that has been pushed off for a while now due to all of our more important projects.
  • There’s quite a few other projects that are still being evaluated, so I probably shouldn’t say much about those except that they’ll all be keeping me busy for the foreseeable future.
  • I’ve been traveling quite a bit as well. Recently I picked up a Garmin eTrex Legend HCx with the intent of using it to insert GPS coordinates into the EXIF data of my photos along with auto navigation and perhaps geocaching. I’ll post a review of the unit later, but simply having it has been invaluable during my trips.

    I’ve been doing a bit more on the photography front than I did earlier this summer. My motivation is returning and I’m beginning to go places just to take pictures again. I think the lull was definitely good for me. I’ll end this post by leaving a few photos and some links.

    I went to Porcupine Mountain State Park with my friend Gowtham in July and discovered some amazing scenery. You can find the photos in a flickr collection, but I want to show everyone this one (I think it’s one of the best pictures I’ve ever taken:
    Preque Isle River gorge-1

    I also attended an autocross and took an astonishing amount of pictures. What made it onto flickr is only a smattering of what made it home with me.
    Car 26

    My most recent photo expedition was simply a trip around downtown Houghton. I decided I wanted to learn a bit more about black and white photography, so I stuck my 50mm f/1.8 lens on the Nikon and headed out. It’s simply amazing what black and white does for the atmosphere of a photo. Sticking with just the one focal length made me focus quite a bit more on where I was in relation to my subject and my framing. It was definitely a good learning experience.
    Old McDonald's drivethru

    Summarizing Summer

    I’ve been fairly busy the last three weeks (not busy enough to actually justify a complete lack of updates though). Work has been going pretty well and has kept me working at least 45 hours most weeks. On the 29th, I went to Minneapolis so I could pick up Sarah (my sister-in-law) at the airport the next day; luckily Kim put me up for the night and I was able to spend quite a bit of time catching up with her. This past weekend I also took 2 of my MTTC tests, the Basic Skills and Social Science ones; I believe I did really well on both.

    I pulled an 11 hour day today, and tomorrow looks as if it should be a 12 hour day. (See what I mean about long hours?) It wouldn’t have been so bad, except the technician Dell who was sent to replace the motherboard on one of our new servers discovered the problem wasn’t actually the CPU (well, the pins in one of the sockets on the old one were actually bent). Instead, one of the ISCI cards was bad, and causing the server to spit out the CPU error. Of course, we had disassembled the machine and rebuilt it with the spare parts he brought by the time we figured this out.

    But, on to the more interesting part for you non-computer people. I’ve been fairly (at least in relation to the few weeks before my last post) productive on the photography front since the 19th. I finally processed all the photos I took at the ROTC Commissioning on Tech’s Campus in May. I only put a few of the photos online. (I gave the detachments a CD with over 100 photos on it.) You can find them on flickr of course.
    ROTC Commissioning-2007-2

    I took a few quick snapshots of my new apartment (I know the photos suck, I was in a hurry).

    The Centennial Mine is the latest set of industrial ruins to garner my interest. I made an afternoon trip out there as a followup to a trip I made with Kevin in early June. Unfortunately, between now and then, someone had been through and locked up most of the doors, so I was stuck with what I could see from the ground and what I could climb to. It actually turned out to be a fun trip though, and I focused on a lot more of the details than I probably would have otherwise.

    Hoist House

    The 4th of July rolled around and I made the trip to Copper Harbor for fireworks again. (I went to Lake Linden on the 3rd, but a light fog kept me from taking any pictures that didn’t look like crap.) I’ve said it before, but it needs to be said again: “There’s no better place in the U.S. to watch fireworks than Copper Harbor, MI. I’ll just leave you with photographic proof.
    Fireworks-2007-34

    My most recent excursion is one that I’ve been looking to for several years now. Douglass Houghton Falls is one of the most spectacular waterfalls in the area. Unfortunately, it’s not easy to get to and the path is a bit dangerous; this combined with the fact that it is located on private property means it is closed to the public. Honestly, it isn’t hard to see why, I’d be afraid of the liability issues as well. It turns out that I know the land owners though, in fact, I’m a regular at the restaurant she owns. So, my friend Gowtham and I were given a guided tour out to the falls and left to have a very fun photography session. You can see the results in my photostream.

    Douglass Houghton Falls-2007-2
    Douglass Houghton Falls-2007-3

    Work, Opera, birthday and Cabaret, oh my!

    Work has been crazy lately, but I’m enjoying it, so the 45-50 hours a week isn’t too bad. I need to start focusing on my upcoming academic endeavors though… two of my teaching certification tests are on July 7th and I need to study for those. I also need to look into taking the GRE this summer so I can apply to grad schools in the fall; I believe I only need to take the general one, so that shouldn’t be too bad. Then I can focus on my final goal for the summer: figuring out where I want to go to grad school at. I want a Master’s in Political Science, but don’t want to end up at a school with a huge Ph.D. program where I’ll be overlooked. Anyone with suggestions is welcome to leave them. So far I’ve heard good things about Eastern Illinois, Western Michigan and Northern Arizona.

    But, there’s more to life than work. Last week I was lucky enough to attend two operas performed by the Pine Mountain Music Festival (PMMF), le Docteur Miracle and Trouble in Tahiti. Both were very good, with the former being my favorite of the two. I don’t know why, but I prefer operas in almost any other language. There’s just something about hearing them sung in English that takes away from the experience. This weekend, I’ve got a ticket to a cabaret put on by PMMF, which will be my first; hopefully it is as enjoyable as all the other shows they put on.

    The last big event since my last update was my birthday. I’m 22 now, which doesn’t seem like a big deal to me. I’ve long since stopped really celebrating the day (with the exception of my 21st); this year a few friends and I headed to Gratiot River Park and had a bonfire before coming back to Houghton to watch the Bridgefest fireworks (if you talked to me on Saturday, I probably told you the city was shooting off fireworks to celebrate my birthday). I guess the next birthday to look forward to is my 25th… and that’s solely because my car insurance rate will go down. When did birthdays go from being so much fun to just another day?