Slashdot Mirror


Tagging Photos With GPS Coordinates

ptorrone writes "As part of a camera mod project to make a low-cost aerial photography device we started finding other uses for the camera hack. This first part of this series is tagging photos with GPS coordinates by automating a camera and GPS unit, it's a DIY Black Box for now with interesting applications and other uses. Ideally, this may encourage the next EXIF data schema to support GPS and other information."

25 of 123 comments (clear)

  1. 3D Jigsaw puzzle by .tardo. · · Score: 5, Interesting

    This would be great if it also tagged the direction of the photo as well as the focal length.
    That way some sort of virtual vacation wiki could be constructed from it.

  2. To make the location info complete... by blcamp · · Score: 4, Interesting


    It would also be nice to get altitude and the direction (in 3-D) the picture was taken.

    --
    The problem with socialism is that they always run out of other people's money. - Margaret Thatcher
  3. Degree confluence project by rmadhuram · · Score: 3, Interesting

    Would be helpful for this http://www.confluence.org/

  4. Coralized links by Anonymous Coward · · Score: 3, Informative
  5. Exif already has fields for GPS by MDMurphy · · Score: 3, Informative

    See exif.org for info.

    Robophoto, OziExplorer support tagging the images from live GPS or from a log file.

    1. Re:Exif already has fields for GPS by LS · · Score: 3, Informative

      This is true. EXIF 2.1 defines an IFD section specifically for GPS. From page 56 of the EXIF 2.1 standard:

      Table 12 GPS Attribute Information

      (I munged this into a list and is highly abridged. I tried 10 different ways to post the table but Slashdot's fuckwitted lameness filter is fucking lame itself):

      GPSVersionID, GPSLatitudeRef, GPSLatitude,
      GPSLongitudeRef, GPSLongitude, GPSAltitudeRef, GPSAltitude, GPSTimeStamp, GPSSatellites, GPSStatus, GPSMeasureMode, GPSDOP, GPSSpeedRef, GPSSpeed, GPSTrackRef, GPSTrack,
      GPSImgDirectionRef, GPSImgDirection, GPSMapDatum, GPSDestLatitudeRef, GPSDestLatitude, GPSDestLongitudeRef, GPSDestLongitude, GPSDestBearingRef, GPSDestBearing,
      GPSDestDistanceRef, GPSDestDistance

      LS

      --
      There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    2. Re:Exif already has fields for GPS by bobbis.u · · Score: 3, Informative
      You beat me to it... sort of. Here is a full, human-readable list of the fields supported in exif 2.2.
      • GPS tag version
      • North or South Latitude
      • Latitude
      • East or West Longitude
      • Longitude
      • Altitude reference
      • Altitude
      • GPS time (atomic clock)
      • GPS satellites used for measurement
      • GPS receiver status
      • GPS measurement mode
      • Measurement precision
      • Speed unit
      • Speed of GPS receiver
      • Reference for direction of movement
      • Direction of movement
      • Reference for direction of image
      • Direction of image
      • Geodetic survey data used
      • Reference for latitude of destination
      • Latitude of destination
      • Reference for longitude of destination
      • Longitude of destination
      • Reference for bearing of destination
      • Bearing of destination
      • Reference for distance to destination
      • Distance to destination
      • Name of GPS processing method
      • Name of GPS area
      • GPS date
      • GPS differential correction
  6. I'm OUTRAGED! by Saeed+al-Sahaf · · Score: 5, Interesting
    Of course if the Government where developing this technology, people would be outraged, huffing and puffing about Big Brother...

    But instead of a specific data source (the GPS unit), why not develop a standard and just have a data plug in the side of the cam to plug *whatever* data source into? GPS, keyboard, clock, speedometer, altimeter, whatever ...

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  7. EXIF already supports GPS tags by neile · · Score: 4, Insightful

    I wrote an app that tags my images based on GPS coordinates from my Garmin Forerunner. If you look in the EXIF spec you'll find that there are tags for latitude, longitude, and altitude (all of which the Forerunner gives you).

    If you're using GDI+ on a Windows machine you can add the tags into your image pretty easily using either native code or your favourite .NET flavour.

    Neil

  8. been done.. ask around by molo · · Score: 4, Interesting

    I don't know if anyone remembers this, but there was a series of stories on Slashdot about a guy that was taking high-quality photos of the California coastline to study erosion. He was sued by Barbra Streissand or someone for taking photos of her house. Anyway, his camera system recorded the location that the photos were taken using GPS. You should talk to him to see what he did.

    -molo

    --
    Using your sig line to advertise for friends is lame.
  9. Done along time ago by kraksmokr · · Score: 3, Informative

    This was done along time ago with Kodak cameras. The cameras actually run a scripting language. A script can be written to read from a serial port and superimpose the coordinates onto the picture much like the time/date stamps.

  10. Similar by bluewee · · Score: 3, Interesting
    Just reciently I did something similar to this, with my Canon A70 digital camera, I was able to take pictures with my laptop, using Canon's Remote Control, and at the same time get the GPS data from my Garmin.

    It worked well, but I was not able to get altitude nor direction data, I plan on the future hooking up two servos to allow for directional and azumuth data to be entered as well.

    --
    [blue] - The Ministry of Information approved this message...
  11. synchronize before and correlate later by Speare · · Score: 4, Interesting
    The typical approach is to synchronize the clocks beforehand, and correlate gps track data with capture timestamps after getting back home.

    While new cameras offer GPS hookups, I imagine compatibility and logistics is a hassle.

    Sometime, there'll be GPS in the camera, but then you have to take pictures with the camera itself in a position to receive GPS signal, and the long camera wakeup times will be even longer.

    K I S S. Use a GPS that can be enhanced and specialized. Use a camera that is made for taking pictures. Correlate the data as convenient.

    --
    [ .sig file not found ]
  12. Clever. by ottergoose · · Score: 5, Interesting

    This would be really slick for storm-chasing. Often times you find yourself in the middle of [some flat state] taking pictures of a storm, and once you go home you may very well forget exactly where you were.

    Also, I recently saw a TV show where they had to track down a killer based off of some digital pictures a murder victim had snapped shortly before getting killed. This technology would have made that murder much easier to solve... of course this probably has never happened in real life.

  13. May become a "standard" feature in a few years... by FerretFrottage · · Score: 5, Interesting

    The biggest problem I see with GPS and cameras [digital] right now is battery life. Get GPS fixes from the necessary satellites can really run down your batteries fast. This is one area where camera phone may have a advantage; if they are GPS enabled (i.e. motorla iDen, etc.) and can use AGPS from the phone network, it may help with battery life. Nevertheless, as GPS receivers become more efficient, I can see them being integerated in to cameras to provide this type of information. It would actually make for a great vacation application. Take photos with GPS coords, upload photos to computer, computer has an app that "maps" your photos to where they were taken on a global/regional map. Throw in the dates and the app could construct a trip timelime showing all the locations where you took your photos (all the while playing the Family Vacation theme song).

    --
    "Look Lois, the two symbols of the Republican Party: an elephant, and a fat white guy who is threatened by change."
  14. Interesting link by bluewee · · Score: 3, Informative

    It seems that there is also a software based solution as well: http://www.inertia-llc.com/sandbox/topofusiontest/

    --
    [blue] - The Ministry of Information approved this message...
  15. The new Nikon D2x supports this natively by neile · · Score: 4, Informative

    It's almost enough to make me give up my Canon. Almost, except for all those pesky Canon lenses I have... :)

    "External GPS units that adhere to the NMEA 0183 specification are supported (the new MC-35 adapter cable, which connects to the 10-pin remote port on the camera and provides both an RS-232 serial port and 10-pin remote port, is required); latitude, longitude and altitude can be stored in a photo's metadata. The D2X's date and time can also be set automatically when a GPS unit is connected"

    Full walkthrough of the new features in the D2x at http://www.robgalbraith.com/bins/multi_page.asp?ci d=7-6459-7204-7205.

    Neil

  16. Flightgear Scenery! by privaria · · Score: 5, Interesting

    Imagine thousands of Flightgear fans all taking pictures from hilltops and airplanes and submitting them to a server that performs geometric transformations on the images, per the location data, and adds to a downloadable database of free scenery.

  17. Kodak DC390 by Multispin · · Score: 3, Informative

    Um, my Kodak DC390 (and other Digita-based cameras) supported this ages ago. Someone wrote a Digita app that talked to a GPS via the serial port and added EXIF tags to the images. Heck, I think that Kodak even sold a Garmin GPS and a special bracket that screwed into the tripod hole to hold the GPS.

  18. Some GPS resources by SlideGuitar · · Score: 5, Informative

    This isn't my web site but I wish it were:
    http://www.geosnapper.com/

    There exist Japan only (not ever marketed in the US) point and shoot cameras that already record GPS data directly. (Rioch... and some other brand I haven't heard of.)

    And of course various Nikon pro models have this capacity, such as that used here:

    http://www.californiacoastline.org/

    In the same vein, check out:
    http://apps.ecy.wa.gov/shorephotos/index.html

    I haven't evaluated this: http://www.robogeo.com/home/

    But I do own this, and it works well, as advertised to get a GPS read for each time at which you take a picture: http://www.geospatialexperts.com/

    At the above location, they happen to sell the Ricoh model that can record GPS out of the box.

  19. Has been done already by canavan · · Score: 3, Informative

    In the past there was a kit for some Kodak cameras to connect a normal handheld GPS receiver with NEMA output to the serial port of the camera. I think they overlayed the coordiantes as text onto the picture. I doubt the newer cameras even have a serial port, but the old ones are dirt cheap now.

    Here's an article on connecting a GPS to a Kodak digital SLR, and if you google a bit, you will find that most of the old digita-OS based cameras (e.g. DC290) support this.

  20. Always fun by snillfisk · · Score: 3, Informative

    This is not really a new way to do stuff, and as several other has pointed out, the EXIF-standard already has fields for geographical placement. A new dimension is provided in the data, and allows us to do a whole new range of applications. We've built a small application on Symbian OS (currently running under Personal Java, and another solution in development running under Symbian OS natively) which tags images, audio and other information on a cellular phone (we use the Ericsson P900) with location (provided by an gps with a bluetooth interface).

    We've done several interesting projects in relevance to this, and the probably biggest field of usage would be the utility and maintenance industry.

    We're currently submitting the data from the phone, tagged with a location or a track, to a Java-based server. This server can in turn store the data locally to be retrieved from another phone with additional information (like a regular map) and/or pass the data on to a webserver where the repository can be browsed from a normal web browser. The application may be tested on The OneMap GeoMeta Browser Client. This is part of Project OneMap, a project where we aim to build a completly free and freely managed geodata repository.

    There is still much work going on in this field, but the japanese are 2 years ahead of everyone else. Several of their phones already have built in GPS-receivers and tag the images they capture automagically (this was done as early as in 2002). There still isn't any regular consumer interest for this in Europe or the US, but we could all hope for a better future. :)

    --
    mats
    One man's ceiling is another man's floor.
  21. Microsoft by Anonymous+Writer · · Score: 4, Interesting

    Didn't Microsoft already patent this? The patent mentions GPS data.

  22. Umm Yeah? by Gaewyn+L+Knight · · Score: 4, Interesting

    Hate to be a "been there... done that" type but my Nikon Coolpix 950 has done that for years. If a GPS putting out NMEA is attached to the serial port it places that last lat/lon/alt in the EXIF data.

    Works great... and has for several years :}

    --
    Telcos have alot of dark fibre in the States. Most people assume that's optical fibre...but it's actually moral fibre.
  23. Flickr Mod by blindpoetx · · Score: 3, Interesting

    Currently, you can get an rss feed for certain tags on publicly available photos. It would be interesting if they extended this feature for GPS coordinates. (ie, if you want to see what's going on in Central Park, at your college, at Mt Everest, or at Mardi Gras.)

    It also would make for some interesting searches. In theory, if they kept track of points, vectors, and times... and lets say that you kept track of the same info, then you could search for all photos that include you!! Also, depending on if they store other meta-data, sorta like ID3 tags for MP3s, you could look for a GPS coordinates that best match a set of keywords.

    Example, if you did a search for Lego, the first result would probably be Lego land. (Lots and lots of vacation pics.) The next 2-5 would probably be big, famous Lego artworks that lots of people would take pictures of. You could do a search for waterfalls and find all the most picturesque waterfalls in your area. ... In summary; more meta-data = cooler searches.

    http://flickr.com/services/feeds/
    http://flickr.com/services/feeds/photos_public.gne ?tags=decay&format=rss_200

    On the downside, you have to be careful with your meta-data. I can only imagine stalkers having a field day once GPS coordinates are embedded into pictures. ...Computer generated images would need fake GPS coordinates, NASA would need some other form of GPS for space...