Thursday, March 26, 2009

Geotagging Photos

Here is something for the nerds in the family.

I've always been interested in making photo maps such as this one that I made of all the gravestones of direct ancestors that I've been to:

http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=110621227674241327820.000001123a8b23bca9747&z=6

However, this was quite laborious because I had to go to each grave, place my etrex legend on the gravestone, write down the coordinates, and enter all of them one at a time into google maps.

There are a couple of options for streamlining this process.

1) You can buy a camera that will automatically geotag your photos. I had a hard time finding anything that wasn't for professional cartographers. Granted, I didn't search for very long because I already have a camera and can't justify spending money on another one. Here is one example though:

http://www.amazon.com/gp/offer-listing/B001DO15J2/ref=dp_olp_new_map?ie=UTF8&condition=new

2) You can get a gps device that will create a log of where you have been. Basically, you turn it on and leave it running whenever you are taking pictures and it leaves breadcrumbs about ever 15 seconds. Before you do that though, you make sure the clock on the gps and the clock on the camera are set exactly the same (usually gps units track in UTC, so it is important to set them to the same time zone). You then save the breadcrumb log (needs to be in gpx or nmea format as I understand it from reading the link below) and photos to your computer. From there you run it through software that synchronizes the photos with the log and geotags the photos. You can then upload the pictures to google earth or google maps or something along those lines and create a map with your photos. Google offers free software that will do all of this.

http://code.google.com/p/gpicsync/

Option 1 would probably be easier if you can afford it. There are probably other options out there besides the Nikon above, but they aren't jumping out at me when I do a basic search.

Option 2 would be easier for me because I already have everything I need to make it work (a camera and a gps) and the software from google is free.

Also, if you happen to own a Garmin Nuvi 200 series, I know a way to hack the gps so it will create a track log for you. Normally they aren't designed to do this, but there are ways. That info would then have to be converted from Garmin's format to gpx or nmea, but there are free programs that will do that for you as well. If you are interested, just ask.

I let Caren borrow my camera, so unfortunately, I can't post an example, but I will see her this weekend and we will try it out around Moscow. Tonight I will post an example of a hacked track log from my Nuvi 270.

Joe

7 comments:

Pat said...

I think it would be aneat way to chronicle your travels. However, for me right now it would pose two problems. I'm not sure I could figure out how to do it, and my map would show me going from the house to the yard several times a day and occasionally from the house to the post office, Church, or Walmart. ;)

Laurie said...

Are you wanting to geotag alot of photos?
We bring our camera and GPS on hikes, and I mark points of interest in the GPS--which we've usually taken a photo of, then add the track to everytrail and put in the pics from my camera of the points of interest..that's similar to what you are wanting to do it sounds like but you want it more automatic--the camera thing sounds cool but I need my GPS tracks for hikes too..does your Nuvi not make track logs?

Laurie said...

http://www.everytrail.com/view_trip.php?trip_id=99224

Here's an example of one of my tracks with a couple photos--sure it'd be cool to tag all of them but right now points of interest are what I'm interested in tagging....

Joe said...

Mom...No worries. I only charge a nominal fee. :-)

Laurie...Yes, you have it right. What I was doing before is what you are doing now. This method automates everything. The other thing is that I'm in love with Caren first and Google Maps second. (Sorry Caren, I had to.) I love the features of google maps. I love the streetview thing. I love that I can look at wikipedia articles about places without ever leaving google maps. I love that with my limited knowledge or programming, I can still manipulate that to do about anything I want (that is also the reason I switched from wordpress to blogger which is run by google). The thing is, I don't know exactly how what you are using works without looking closer, but with google maps, I can put my photos and my track on there.

The nuvi 200 series is not designed to do anything more than navigate a person from point a to point b and is generally made for use in a car. It does that very well. We took it to Europe last year, and we would still be standing in Edinburgh Airport had it not been for the Nuvi (my planning beforehand didn't hurt anything either though). In its natural state, it doesn't have the features that are handy for hiking, biking, and geocaching. So, I modified it. Now it will log tracks. I just have to convert it from Garmin's weird binary format to something google maps or google earth can read. That something is a gpx file which is relatively universal. Google earth will open those and from there you can save it to something (KML file) that google maps will read. From there I just upload it to the internet and direct google maps to the kml file. I can upload it from the computer too, but this seems to produce better results. See my most recent post. Anyway, something to look into when you get bored.

Thanks for the link.

Joe

Joe said...

The other thing I really like is Google Earth. I can fly through my route and look at pictures along the way. Kind of cool I think. Google Earth will read a GPX file which is one of the formats the typical gps will output in just in case you don't know.

Joe said...

Sorry, one more comment. Also, I just though about the fact that you are likely using what you are doing for social type purposes. Meaning sharing it with the people you are hiking with. In that case, the hiking communities are best the same as if I'm doing geocaching, then the geocaching communities are best.

Joe

Laurie said...

I see, you just want a faster way of doing what I am already doing. Gotcha! Yeah those street GPS's are pretty useless for hiking. ;) I haven't played with Google Earth much, I need to though!

Post a Comment

For "Comment As", select name/url and you only have to type in your name. Or you can choose anonymous and say in your post who you are.