Geotagging is the process of adding geographical identification metadata to various media such as photographs, video, websites, or RSS feeds and is a form of geospatial metadata. These data usually consist of latitude and longitude coordinates, though they can also include altitude, bearing, accuracy data, and place names.[1]

Geotagging standards in electronic file formats:

  1. JPEG photos
  2. HTML pages: ICBM method, RDF feeds, Microformat, Wikipedia, Geotagging in tag-based systems & Geoblogging

the most famous API and Application on image geotagging is exiftool. [2]

Geotagging with ExifTool[3]
The ExifTool geotagging feature adds GPS tags to images based on data from a GPS track log file. The GPS track log file is loaded, and linear interpolation is used to determine the GPS position at the time of the image, then the following tags are written to the image:

  • GPSLatitude
  • GPSLatitudeRef
  • GPSLongitude
  • GPSLongitudeRef
  • GPSAltitude
  • GPSAltitudeRef
  • GPSDateStamp
  • GPSTimeStamp

Currently supported GPS track log file formats:

  • GPX
  • NMEA (RMC, GGA, GLL and GSA sentences)
  • KML
  • Garmin XML
  • Magellan eXplorist PMGNTRK

Test Website:

  1. http://regex.info/exif.cgi
  2. http://locr.com

Examples: [4]

  • READING EXAMPLES
  • WRITING EXAMPLES
  • COPYING EXAMPLES
  • RENAMING EXAMPLES
  • GEOTAGGING EXAMPLES
  • PIPING EXAMPLES

EXIF stands for “Exchangeable Image File Format”. This type of information is formatted according to the TIFF specification, and may be found in JPG, TIFF, PNG, MIFF and HDP images, as well as many TIFF-based RAW images, and even some AVI and MOV videos. [5]

Applications based on exiftool:

  • http://geotag.sourceforge.net/?q=node/1
  • http://www.carto.net/projects/photoTools/gpsPhoto/
  • http://studio.messlinger.com/2009/03/08/exiftool-and-the-automator/
  • others [6]

[1] http://en.wikipedia.org/wiki/Geotagging
[2] http://www.sno.phy.queensu.ca/~phil/exiftool/
[3] http://www.sno.phy.queensu.ca/~phil/exiftool/geotag.html
[3][oldlink] http://cpansearch.perl.org/src/EXIFTOOL/Image-ExifTool-7.82/html/geotag.html
[4] http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html
[5] http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html
[6] http://www.sno.phy.queensu.ca/~phil/exiftool/#links