A Brief Introduction to GPS Photo Linking
by David Goldwasser, contributor to Digital Photography Hacks06/15/2004
Do you ever look back through your vacation photos and wonder where all of the photos were taken? What if there was a way to have all those images automatically show up as pins on a map or an aerial photograph? It may seem too good to be true, but it can be done. No mirrors or smoke; it's just making use of existing GPS technology.
As you are out recording pictures, your GPS receiver is busy making a digital popcorn trail of your movements. Then when you're back on the computer, a topo map or aerial photograph is pulled from a terraserver on the Internet, and your shots show up on the map as clickable links to your photographs.
In this article I'll provide you with a brief introduction to this fun endeavor to help you get your bearings ... so to speak.
Potential Projects for GPS Photo Linking
I first researched this as a tool for an extensive neighborhood study, but what other uses are there? Well, you could just have fun on a road trip having a passenger shoot photos of roadside attractions. Real estate agents or prospective homeowners could take photos of houses. A scientist studying a particular animal or vegetation could track the locations using this method. Comparing results of previous trips they could study movement or growth of a species. For us nonscientists it could still be a fun way to document hikes or nature walks.

A GPS-driven overview of the photos I took on a walk (created with TopoFusion). If you go to the working example on my web site, you can mouse-over each marker and see a photo of what's at that particular location. Or you can click on the marker for an enlarged image.
GPS Primer
GPS (Global Positioning System) consists of a network of geo-synchronous satellites scattered around the world. The satellites send out a time-stamped signal toward the earth. The GPS receiver, as its name implies, receives a signal from the satellites. It does not, however, communicate back with it. Because the satellites overhead are at different distances from the receiver, it takes longer for some satellite signals to reach the receiver than others. The time gap represents a distance.
So now with a little math the device can triangulate its own location. This is very similar to how the epicenter of an earthquake is determined. To learn more about how GPS works check out the great article on HowStuffWorks.com.
Limitations of GPS Technology
|
Related Reading
Digital Photography Hacks |
In general you need a clear view of the sky to successfully use GPS. So indoor use is typically not possible. And depending on the GPS receiver you're using, an urban environment with limited sky view could also be a problem. All GPS receivers are not created equally. Some have much stronger signal receiving strength than others. Generally speaking, more strength is better but that could come at a cost of price and or size. So research this carefully before making a purchase.
Does the Camera Choice Matter?
For the purposes of this endeavor, there are two types of digital cameras. Those that have built-in GPS receivers (or offer accessory attachments), and those that don't.
Cameras with built-in GPS capability are few and far between. Some are costly high-end DSLR cameras, and some are old relics from early days of digital cameras -- such as the 1.4mp Kodak DSC 260 series.
There are a few manufactures that are once again starting to make GPS-enabled cameras, and I hope and expect this activity to increase in the near future. For example, take a look at this cool model from Ricoh.
For the rest of us who don't have cameras with GPS receivers, we can use just about anything we want, as long as it records date and time into the EXIF data. If you shoot in a RAW format you will have to convert the file to JPG.
Types of GPS Receivers
I could write a series of articles on this topic alone, so I'm not going to try to cover everything available. But I do want to go over a few of the basic categories and features of receivers. And most importantly to you, then cover some of the Mac-friendly brands.
At the top end are devices with big, full-color screens and detailed road maps. These will typically let you download additional maps and even provide you with point-to-point directions, telling you where to turn as you drive. This is how a built-in car navigation systems work.
However, this kind of device is no longer limited to the automobile. They are now offered as portable devices that you can take from car to car, or out on the trail. I don't know, since I don't have one of these models, how much of a drain the big color screens are on the battery, as their main use is for in a car or boat with DC outlets. So be sure to check the type of battery that may or may not be included with these high-end devices.
Another class of GPS receivers has no display at all and needs to be connected directly to a computer. Because of the dropping price of the mid-class devices, I suggest bypassing receivers that have to be tethered to a computer.
My favorites, the mid-class devices, have a lot of great options. Most of these are small, all weather or even waterproof, have great battery life, and are very reasonably priced. Most cost from $100 to $400. Most of these models have grayscale displays, although more and more we're seeing color in this range. They have more simplified maps than the car systems and for the most part do not talk you through point-to-point directions.

A Garmin mid-class GPS receiver.
Some of the features to keep in mind while shopping include the ability to upload maps and routes, electronic compass, optional external antenna, and barometric altimeter. I even ran across a combination two-way radio/GPS receiver.
The GPS Photo Workflow
You have lots of ways to hack your system together. Here's one that I've patched together that you can use as a starting point for yours. I do use Virtual PC in my workflow. So if that's not available to you, there's some more hacking you'll have to do.
- Download GPS track to your Mac using Mac GPSBabel.
And here's an interesting resource page for all formats.
Note: This has to be active track, not saved, or time data may be lost.
- Download images to computer.
- Put images and GPS track in shared Virtual PC folder.
- Launch TopoFusion and follow directions.
Note: Creation of HTML export will be much quicker if you bring in downsampled images. I sized mine for what I know I wanted them to be on the final web page.
If you are comfortable with HTML code you can modify the code with the HTML editor of your preference. I used Adobe GoLive and integrated it with my iView MediaPro export, which is what I used to downsample the images with in the first place.
Another important note: If you edit the images before using TopoFusion make sure you preserve the EXIF data.
Hardware
Aside from your computer, the two things you'll most likely need are a receiver and a serial-to-USB adapter.
Garmin and Magellan are the two major players for the receivers themselves. Then you might need the Keyspan Serial-to-USB adapter since the GPS receiver will likely come with a serial cable, and you'll probably want to convert it to USB.A Few More Links
HTML Tools
More Mac Software to Communicate with GPS Devices and TerraServers
More PC-based Software to Link Photos and GPS Data
- GPS-Photo Link
- QuakeMap
- OziPhotoTool (requires OziExplorer)
- OziExplorer
- GPS TrackMaker
Mac GPS-enabled Road Atlas Software:
- Route 66 (mac/pc)
- DeLorme Street Atlas -- No longer makes Mac version :(
Final Thoughts
As you can see, there's a little hacking involved for Mac-based GPS photo linking. But the results can be quite impressive. If you've been working with these tools, please post a TalkBack below with any tips that you've learned. If there is a Mac software developer out there with some spare time (OK, but I can wish), I would be excited to see a native Mac-based solution for GPS photo linking. My sense is that there would be many thankful Mac photographers.
David Goldwasser is the owner of Inertia, LLC and a contributor to the O'Reilly book, Digital Photography Hacks.
Return to MacDevCenter.com.
Showing messages 1 through 25 of 25.
-
GiSTEQ PhotoTrackr Mac version is available now
2008-07-15 17:33:24 Kavin_Photo [View]
GiSTEQ got their PhotoTrackr Mac version available now.. just go to their website http://www.gisteq.com/program-update.html to download the program, its awesome!!
-
GPS GISTEC and MAC
2007-06-26 11:49:19 MMS53 [View]
The Gisteq does not work with Mac.
Bummer
MS
-
GiSTEQ PhotoTrackr
2007-05-01 10:52:29 ronnyinus [View]
I recently saw a new GPS photo tracking unit called GiSTEQ PhotoTrackr from engadget.com. I don't know if it's compatible with MAC. Does anyone know?
-
SONY GPS-CS1
2006-09-21 20:50:05 jeffercub [View]
I recently bought the SONY GPS-CS1 GPS Unit was hoping it will work with Macs because all it does is same the GPS position into a txt file. Unfortunately it does not. Mac OS X will not recognise the UNIT. Is there any software for mac will make this unit work and ideally work with iPhotos too? or I will give the gps unit to a friend.
-
SONY GPS-CS1
2006-09-21 20:48:37 jeffercub [View]
I recently bought the SONY GPS-CS1 GPS Unit was hoping it will work with Macs because all it does is same the GPS position into a txt file. Unforturletly it does not. Mac OS X will not reconige the UNIT. Is there any software for mac will make this unit work and ideally work with iPhotos too? or I will give the gps unit to a friend.
-
Using geotag info to label photos...
2006-07-10 11:30:13 stevenic [View]
Another use of GPS information in photos would be to auto-label your photos. This would work by querying some web service for a label associated with a given set of coordinates. For instance if I was at the Seattle Center and my camera was facing the Space Needle when I took a picture that photo would get labeled "Space Needle" instead of "DSC0002752".
The Space Needle example is a best case example but even the worse case example of labeling my photo "Seattle WA 1" or just "Washington 1" would be better then the alternative.
-
Geo Spatial Web - Some Ideas
2005-06-18 04:54:19 SudarshanP [View]
You may be interested to check out the following posts at http://dreams2text.blogspot.com
-
Opanda PowerExif Editor allows to add GPS into Exif as a batch.
2005-05-07 15:12:17 tonychien [View]
Opanda PowerExif Editor allows to add GPS into Exif as a batch. It runs on Windows system.
-
flash photoblog world map
2005-02-22 21:23:03 zeman [View]
Once you've got your photo's tagged with GPS EXIF data you can also use the flash photoblog world map on your website to display thumbnails of your photos on a high resolution world map.
-
AppleScript tool for reading/writing exif data
2004-10-11 03:52:08 ktam2 [View]
iMagine Photo is an AppleScript tool that can read/write exif data including GPS information.
You can check out iMagine at:
www.yvs.eu.com/imagine.html
Kevin
-
New osX App to tag GPS data to photos :)
2004-10-06 15:41:21 DavidGoldwasser [View]
I'm happy to report that now we have an osX native way to add GPS data to the EXIF data of our photos.
This new app has clean interface and does just what it says.
http://oregonstate.edu/~earlyj/gpsphotolinker/
If you use it please donate to the developer. There are many other features that could be added on. I'm sure the developer will apprecate the support to know that others are using and value his software.
As the website mentions, you should consider backing up your photos before using this. It is unlikley but possible that a jpg file could become corrupted in this early version of the software.
Once the files are tagged with the GPS data, if you open it in browser such as iView you can now see the Latitude and Longitude fields.
What is left now is to automate the process of creating an image map to view the photos. This may come from the maker of GPSPhotoLinker or maybe somewhere else. I am aware of at least one other osX app that can automatically generate image map to view photos as pins on a map. It just does not use GPS data; instead it relys on hand placing pins. I have asked that developer about adding the abilyt to use GPS data form EXIF.
-
what hardware & native os x for gps photo linking
2004-08-24 16:17:17 gpgmass [View]
I am looking for a basic handheld receiver and a native os x application (no virtual pc).
Recommendations?
Geoff -
what hardware & native os x for gps photo linking
2004-09-18 07:15:38 azurelite [View]
Geoff I am looking for same any luck so far?
stephen
-
Tokyo Picturesque
2004-07-08 07:47:57 chriskk [View]
In the land of the keitai (Mobile phone in Japanese) we have a carrier, AU, which sells GPS enabled mobiles to everyday consumers for use in Location Based Services such as city guides/navigation systems. The keitai I use is by Casio (http://www.au.kddi.com/seihin/kinobetsu/seihin/a5403ca/index.html in Japanese), and it's a 2Megapixel GPS enabled unit. After taking a photo there is an option to grab your coordinates, and this information is stored in the JPEG as EXIF metadata. Now you can attach this to an email and shoot it off to a server for some fun.
A project called Tokyo Picturesque accomplishes this, and similar to the GPS Photo Linking project described in this article, maps these photos to a 2D map.
http://www.downgoesthesystem.com/devzone/exiftest/final/
FAQ/howto:
http://www.downgoesthesystem.com/devzone/exiftest/details/
-
Thanks, that is a great link
2004-07-08 08:24:33 DavidGoldwasser [View]
Thanks for link to that site. Great concept and really nice interface.
Phones really could be great for this. Camera, GPS, and ability to upload to web all on one small device, and you can talk to people on it to.
It is neat that you could have a "where I have been" section of yoru website that works kind of like a visual blog. Whenever you are out taking photos it automatically gets posted to your 'Visual Blog" -
Visual Blog
2004-07-09 11:56:35 chriskk [View]
The back end is done mainly with ColdFusion with a pinch of Java by a kewl coder ,and crazy friend Kentaro here in Tokyo. The Flash portion is done (or I should say reDone ;) ) by a guy named Tozaki from Karate Systems. He's into Rich Internet Applications.
I like the ease of moblogging, and the phone gets the GPS coordinates in 5 to 10 seconds. This is very acceptable, but have to tell whoever I'm with to 'hold on a sec while I get our position ...'. I haven't checked how the GPS coordinates work with short videos taken with the cell, but I would imagine it would be an external link. Currently when attaching GPS info to the photo, and preparing to email ... the phone will ask me if I want to add an URL. This URL points to a mapquest type of site of Tokyo done by Toyota. Maybe the video will include this URL.
Other ideas of the Visual Blog are to sort by date, time, proximity, and color. A professor from German who currently resides here has been 'moblogging' w/ GPS for about two years now. He's got a great resource of personal data that he can check by date, time, and proximity. And did a collage by color too. I keep urging him to share his personal experiments, but I think he's a little shy. Hopefully soon.
If you ever visit Tokyo please let me know, and we'll get you a phone to play around with!
Take care,
chriskk
-
OziPhotoTool
2004-06-17 14:38:20 alistairdickie [View]
David,
Thanks for the link to OziPhotoTool. To use all of the features you certainly require OziExplorer, and as that is PC based this precludes using any features on a Mac where OziPhotoTool communicates with OziExplorer. Provided tracks were in OziExplorer file format (a relatively simple csv) many features such as watermarking images and basic html generation should work.
Many featres of OziPhotoTool should work just fine on a Mac without recompilation as it is Java based. A Java savy user could download the advanced install and take the command line from run.bat and execute that. I do not have a Mac so have not tested it.
Regards,
Alistair Dickie
-
photo geolocation
2004-06-17 05:48:32 hogh@sbcglobal.net [View]
Good overview on this interesting topic.
I've placed on my website about three years ago a procedure I employ to determine photographic data geolocation from GPS data I collect on automotive road trips. The gist of the process is synchrony between time stamps in the EXIF photo data and corresponding GPS track data. See:
photo geolocation: http://www.986.org/sites/ghogh/CDC/CDC_5505.html
and
synchronization:
http://www.986.org/sites/ghogh/CDC/CDC_metadata.html
Regards,
Gottfried Hogh
-
Another take on same subject
2004-06-16 10:16:07 defoglesong [View]
FYI, here's a link to a paper discussing the same subject:
http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-PC-GTWeb/html/gtweb.html
This was published in IEEE Pervasive Computing last year.
-
MacGPSPro.com
2004-06-16 08:36:48 SkyRaider [View]
Macgpspro.com by James Associates (hereafter JA) seems like a great program.
JA also appears to be very interested in adding features. Maybe they would answer some prayers. I'm still learning so any requests to JA should be made by readers with exact knowledge of what feature are needed.
-
Further ideas
2004-06-15 20:43:06 Tyler Mitchell |
[View]
Nice coverage of the idea, David. A couple other ideas I have dealt with are:
1) Using Python module PyGarmin to grab waypoints. While I haven't used this for tracks, we use this regular in our forestry work to automatically download waypoints and store them into a PostgreSQL database. Then others in the enterprise grab the coordinates for reporting and location tracking purposes. We are also then able to map these locations as the "status" changes and requires attention from field crews.
2) While not using EXIF attributes, one project I'm familiar with (HERE is a web-based mapping site using digital photos and a spatial data file (ESRI Shape file). The filename of the photo is entered as an attribute in the shape file.
Similar idea to the example you showed - map the locations, click on a location and view the photo. It's using 100% open source GIS programs that are multi-platform (based on MapServer. The nice thing about the above site is that the mapserving capabilities are remote from the website itself and can be easily and quickly modified and updated.
Tyler
-
Bluetooth?
2004-06-15 18:11:46 KevinM [View]
I would love to have a bluetooth enabled GPS and Camera that can talk to each other. I know iPhoto has the lat/long fields in it's EXIF information, but I don't know if that's an iPhoto extension or the built into the camera.
If it's built into the camera... having it paired with a bluetooth GPS would be magic. -
2 way radios send GPS data
2004-06-16 05:53:07 DavidGoldwasser [View]
I know some cameras or at least video cameras have bluetooth, or now even WIFI, but I don't know of any that communicate with each other. Not sure of the goal of them communicating with each other?
On the other I believe that at least some of the two way radios that have built in GPS recieves exchange the GPS data with each other. This sounds very cool and usefull. Each person in the field will know where the others are.
As far as storing the GPS data as an EXIF field, if a camera stores it then most programs should support viewing the data. I believe it is a standard EXIF field. -
Why bluetooth-enabled cameras?
2004-06-16 06:37:10 John Sequeira |
[View]
If your camera could communicate with your cell phone (via bluetooth/wifi/etc), you would get geotagging via E911 technology and unlimited storage via 3G/4G.
That's pretty cool.
-
Why bluetooth-enabled cameras?
2004-06-16 07:43:55 DavidGoldwasser [View]
Does the E911 work like GPS but just use signal strengh or time from various cell phone towers?
Kevin, I mis-understood your post, but now it makes sense. I thought you were talking about a camera communicating with another camera, vs communicating with GPS device (now it makes sense, that woudl be great. In fact that is similar to what the Ricoh camera does which has a GPS card. It just does not do it wirelessly.
One other feature that would be great is to record the heading as part of the track. If you have an electronic compass on the GPS receiver it can tall which way you are looking (assuming you have the reciver taped to the camera or aimed the same way). I think most of the standard track formats record location but not heading.









