Archive for the 'GPS' Category

Geotagger pre-Alpha

Monday, June 8th, 2009

Geotagger pre-Alpha is released.

http://notions.okuda.ca/geotagger/

I’ve been working on this little tool for geotagging photographs on my long commute. It is an open source C# application that uses Google Maps to geotag JPEG files from GPX GPS data. It was built partly as an exercise in using C#, but mostly because I don’t trust most other tools to save the JPEG file. I have had experience with tools that made quite a few changes when saving, and I wanted full control. At the core of this application is a JPEG EXIF library that can parse, edit, and save EXIF data with minimal changes.

It is had limited testing with a small range of different file sources and has a few quirks. I am making it public to help fix some of those issues.

Microsoft Pro Photo Tools

Saturday, May 3rd, 2008

Microsoft has beat me to it.

Just when I started to spend some more time on my open source GeoTagging tool, Microsoft releases their free GeoTagging tool called Microsoft Pro Photo Tools. I think they were concerned about the competition and wanted to get their tool out before mine ;-)

Microsoft Pro Photo Tools

I have only had a short time to play around with the tool but it seems to do what they claim it will do. The interface is not intuitive and it took me a while to understand how to make it do what I wanted, but I did eventually tag a set of test photos from a recent vacation (using a GPS track log).

It appears that it can do what my GeoTagger can do, and more, but I’m not sure it is enough to make me stop development. My GeoTagger is simpler and doesn’t have as many features, but I like that. It is intended to have only one feature – geotagging photos. I do like some of the features of the Pro Photo Toos interface and I may borrow them for my tool.

I like the time adjust tool. While placing the images on the GPS track it allows you to adjust the position by moving a “time” slider left or right in minute or hour increments. This is handy if the photos were taken in a different time zone or if the camera was set to the wrong time (forget to adjust for Daylight Savings?). It is interactive and visual. Rather than trying to remember what time zone the camera was set to, you can visually see where each of the images will be placed. If the location looks wrong then move the slider left or right until a few of the images appear in the correct location. This probably indicates that you have the correct time adjustments and it will apply to all the images.

One feature I didn’t expect, but think could be useful is the “Get location text” button. It will fill in the address, city, region, country from just the GPS coordinates. Trying this on some photos taken at Disneyworld’s Epcot Center gave me addresses like “Journey Into Imagination” which is the attraction near the photo. I’m not sure where in the EXIF header that data would be saved, but still cool.

A huge plus is that it doesn’t mess up the exif data like the WWMX tools. Below are the diffs from exiftool of an image before and after GeoTagging it with MPPT. I’m not quite sure why the thumbnail is so different between the two, but the other differences seem reasonable and relatively minor.

Command:


exiftool -r -g1 -w .txt *.JPG
diff *.txt

Output:


< Warning : [minor] Adjusted MakerNotes base by 4202
5c4
< File Name : IMG_4911.JPG
---
> File Name : IMG_4911_original.JPG
8c7
< File Modification Date/Time : 2008:05:03 04:23:37
---
> File Modification Date/Time : 2008:05:03 05:08:45
11c10
< Exif Byte Order : Big-endian (Motorola)
---
> Exif Byte Order : Little-endian (Intel)
51d49
< Offset Schema : 4202
186,187d183
< ---- GPS ----
< GPS Date Stamp : 2008:03:07
190,197c186,187
< Thumbnail Offset : 13746
< Thumbnail Length : 5354
< ---- XMP-exif ----
< GPS Time Stamp : 2008:03:07 07:43:43
< ---- XMP-xmp ----
< Creatortool : Microsoft Pro Photo Tools
< ---- XMP-tiff ----
< Software : Microsoft Pro Photo Tools
---
> Thumbnail Offset : 9728
> Thumbnail Length : 9253
202,207d191
< GPS Date/Time : 2008:03:07 2008:03:07 07:43:43
< GPS Latitude : 28 deg 23' 3.16" N
< GPS Latitude Ref : North
< GPS Longitude : 81 deg 32' 12.22" W
< GPS Longitude Ref : West
< GPS Position : 28 deg 23' 3.16" N, 81 deg 32' 12.22" W
213c197
< Thumbnail Image : (Binary data 5354 bytes, use -b option to extract)
---
> Thumbnail Image : (Binary data 9253 bytes, use -b option to extract)

The Good

  • It is much faster and easier to use than the old wwmx.org tools.
  • It has an interactive map (not available with wwmx).
  • It seems to retain all the existing Exif data in the photos I tested after GeoTagging.
  • The time adjust tool
  • “Get location text” – is a button that will fill in the address, city, region, country from just the GPS coordinates. Trying this on some photos taken at Disneyworld’s Epcot Center gave me addresses like “Journey Into Imagination” which is the attraction near the photo.

The Bad

  • Ugly interface – harder to use than I expected with a tool from Microsoft.
  • It seems a bit “alpha” in the interface and the way the buttons are organized. Like someone put all the buttons that were needed randomly around the screen.
  • The geotagging process itself was very confusing. I would select an image, and click “Place Images” which would select all the images, show me one pin on the map, and if I clicked anywhere before clicking “Done” it would move the selected image to the end of the list and remove the pin.

GPX Viewer is now hosted by Google Code

Monday, July 30th, 2007

I have put the GPX Viewer script (loadgpx.js and some samples) project on Google Code here http://code.google.com/p/gpxviewer/.

The primary reason is to add version tracking to the script code. Now the complete history of the script can be viewed as well as any bug fixes. Google Code uses a SVN repository to track changes and history. You can download the content from Google Code, or checkout the project using an SVN client.

Another reason is issue management (bugs). This will allow issues to be tracked more easily. Right now I have some comments on the blog about bugs in the code, but no formal process for tracking them. I have just recently fixed a couple of issues that have been reported – those changes are now reflected in the SVN repository.

The primary home page of the project will remain http://notions.okuda.ca/geotagging/projects-im-working-on/gpx-viewer/ for now, but some new documentation may appear on Google Code. This will save me from installing my own wiki and defect tracking system and SVN server to host my projects.

Other projects on Notions may become Google Code projects in the future, but there is a limit to the number of projects that one can create. This will likely rely on the amount of effort I’m willing to put into the project. GPX Viewer had some issues that I wanted to address and I thought that I should move it into a source control system before I did.

Feel free to visit http://code.google.com/p/gpxviewer/ and download the latest version in the trunk. I have not published the latest version with the latest fixes, so it is slighly more up to date than the one hosted here. It contains an example that will run on a local PC web server as-is. I will publish a new version soon.

Picasa 2.5 Geotagging update

Wednesday, September 27th, 2006

So I played around with the Google Earth integration in Picasa and it is neat. It is very useful if you don’t have a GPS or GPS data for your photos, but it does not automatically correlate the photos with any sort of GPS information.

The best I could do was load my GPS track (GPX file) and view it in Google Earth while I was tagging a photo. It doesn’t correlate the time, but at least you can match the photo with some point on the GPS track. Unless you are in the ocean with no reference points, you can probably get the point within the accuracy of the GPS signal. Unfortunately, it is still a manual process.

I hear a rumour that Google Earth 4 (which I was using) has some sort of time support for tracks but I didn’t see anything with my GPX file. It may require a track that is in a KML format. If that was the case then maybe there is a way to manually find the point in the track that correlates to a specific time (when the photo was taken). This would at least be as accurate as the automated process, but still manual.

Let’s hope the next version improve this functionality.

Picasa 2.5 does Geotagging

Monday, September 25th, 2006

Picasa 2.5 has recently been released with a few new features. I like the new screen saver that just cycles through your photos (I like the option to view all starred photos). I dislike the prominent placement of the “Save Changes” button that backs up your originals and replaces them with the edited copy. I don’t ever want to use that option but it is too easy to accidentally click on.

The most exciting new option is the addition of geotagging support. I have not yet had time to explore it but it appears to support geotagging of photos from within Google Earth and it recognizes geotagged photos inside Picasa. Unfortunately it looks like the geotagging is limited to manually placing the photos and there is no GPS coordination yet, but at least geotagging was important enough for them to include and takes it one more step into the mainstream. In theory I can view the GPX files in Google Earth and the photos, but I don’t know how useful or automated that will be.

Pros

  • Geotagging support
  • Picasa Web (for those who might use it)
  • Direct ftp upload export
  • New Picasa screen saver

Cons

  • “Save Changes” button cannot be hidden or removed and is much to prominent.
  • There is still no opposite of the “fill light” option in the quick edits. There is nothing equivalent to reducing the exposure, only brightening to increase the exposure.

Notions is Digg proof thanks to caching by WP Super Cache