Geotagging

Geotagging (also written as GeoTagging) is the process of adding geographical identification metadata to various media such as a geotagged photograph or video, websites, SMS messages, QR Codes[1] 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, distance, accuracy data, and place names.

Geotagging can help users find a wide variety of location-specific information. For instance, one can find images taken near a given location by entering latitude and longitude coordinates into a suitable image search engine. Geotagging-enabled information services can also potentially be used to find location-based news, websites, or other resources.[2] Geotagging can tell users the location of the content of a given picture or other media or the point of view, and conversely on some media platforms show media relevant to a given location.

The related term geocoding refers to the process of taking non-coordinate based geographical identifiers, such as a street address, and finding associated geographic coordinates (or vice versa for reverse geocoding). Such techniques can be used together with geotagging to provide alternative search techniques.

Contents

Geotagging techniques

The base for geotagging is positions. The position will, in almost every case, be derived from the global positioning system, and based on a latitude/longitude-coordinate system that presents each location on the earth from 180° west through 180° east along the Equator and 90° north through 90° south along the prime meridian.

Geotagging photos

There are two main options for geotagging photos; capturing GPS information at the time the photo is taken or “attaching” the photograph to a map after the picture is taken.

In order to capture GPS data at the time the photograph is captured, the user must have a camera with built in GPS or a standalone GPS along with a digital camera. Because of the requirement for wireless service providers in United States to supply more precise location information for 911 calls by September 11, 2012,[3] more and more cell phones have built-in GPS chips. Most smart phones already utilize a GPS chip along with built-in cameras to allow users to automatically geotag photos. Others may have the GPS chip and camera but do not have internal software needed to embed the GPS information within the picture. A few digital cameras also have built-on or built-in GPS that allow for automatic geotagging.[4] Devices use GPS, A-GPS or both. A-GPS can be faster getting an initial fix if you are within range of a cell phone tower, and may work better inside buildings. Traditional GPS does not need cell phone towers and uses standard GPS signals outside of urban areas. Traditional GPS tends to use more battery power. Almost any digital camera can be coupled with a stand alone GPS and post processed with photo mapping software, to write the location information to the image's exif header. Examples include GPS-Photo Link, Alta4, EveryTrail, or EasyGPS.

GPS formats

GPS coordinates may be represented in text in a number of ways, with more or fewer decimals:

Template Description Example
[-]d.d, [-]d.d Decimal degrees with negative numbers for South and West. 12.3456, -98.7654
d° m.m′ {N|S}, d° m.m′ {E|W} Degrees and decimal minutes with N, S, E or W suffix for North, South, East, West 12° 20.736′ N, 98° 45.924′ W
{N|S} d° m.m′ {E|W} d° m.m′ Degrees and decimal minutes with N, S, E or W prefix for North, South, East, West N 12° 20.736′, W 98° 45.924′
d° m' s" {N|S}, d° m' s" {E|W} Degrees, minutes and seconds with N, S, E or W suffix for North, South, East, West 12° 20' 44" N, 98° 45' 55" W
{N|S} d° m' s", {E|W} d° m' s" Degrees, minutes and seconds with N, S, E or W prefix for North, South, East, West N 12° 20' 44", W 98° 45' 55"

Geotagging standards in electronic file formats

JPEG photos

With photos stored in JPEG file format, the geotag information is typically embedded in the metadata (stored in Exchangeable image file format (EXIF) or Extensible Metadata Platform (XMP) format). These data are not visible in the picture itself but are read and written by special programs and most digital cameras and modern scanners. Latitude and longitude are stored in units of degrees with decimals.[5] This geotag information can be read by many programs, such as the cross-platform open source ExifTool. An example readout for a photo might look like:

GPS Latitude                    : 57 deg 38' 56.83" N
GPS Longitude                   : 10 deg 24' 26.79" E
GPS Position                    : 57 deg 38' 56.83" N, 10 deg 24' 26.79" E

or the same coordinates could also be presented as decimal degrees:

GPSLatitude                    : 57.64911
GPSLongitude                   : 10.40744
GPSPosition                    : 57.64911 10.40744

When stored in EXIF, the coordinates are represented as a series of rational numbers in the GPS sub-IFD. Here is a hexadecimal dump of the relevant section of the EXIF metadata (with big-endian byte order):

+ [GPS directory with 5 entries]
| 0)  GPSVersionID = 2 2 0 0
|     - Tag 0x0000 (4 bytes, int8u[4]):
|         dump: 02 02 00 00
| 1)  GPSLatitudeRef = N
|     - Tag 0x0001 (2 bytes, string[2]):
|         dump: 4e 00  [ASCII "N\0"]
| 2)  GPSLatitude = 57 38 56.83 (57/1 38/1 5683/100)
|     - Tag 0x0002 (24 bytes, rational64u[3]):
|         dump: 00 00 00 39 00 00 00 01 00 00 00 26 00 00 00 01
|         dump: 00 00 16 33 00 00 00 64
| 3)  GPSLongitudeRef = W
|     - Tag 0x0003 (2 bytes, string[2]):
|         dump: 57 00  [ASCII "W\0"]
| 4)  GPSLongitude = 10 24 26.79 (10/1 24/1 2679/100)
|     - Tag 0x0004 (24 bytes, rational64u[3]):
|         dump: 00 00 00 0a 00 00 00 01 00 00 00 18 00 00 00 01
|         dump: 00 00 0a 77 00 00 00 64

SMS messages

The GeoSMS standard works by embedding one or more 'geo' URIs in the body of an SMS, for example:

I'm at the pub geo:-37.801631,144.980294;u=16

DNS entries

RFC 1876 defines a means for expressing location information in the Domain Name System. LOC resources records can specify the latitude, longitude, altitude, precision of the location, and the physical size of on entity attached to an IP address. However, in practice not all IP addresses have such a record, so it is more common to use geolocation services to find the physical location of an IP address.

HTML pages

ICBM method

The GeoURL[6] standard requires the ICBM tag[7] method which is used to geotag standard web pages in HTML format:

<meta name="ICBM" content="50.167958, -97.133185">

The similar Geo Tag format allows the addition of placename and region tags:

<meta name="geo.position" content="50.167958;-97.133185">
<meta name="geo.placename" content="Rockwood Rural Municipality, Manitoba, Canada">
<meta name="geo.region" content="ca-mb">

RDF feeds

The RDF method is defined by W3 Group and presents the information in RDF tags:[8]

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"> <geo:Point> <geo:lat>55.701</geo:lat> <geo:long>12.552</geo:long> </geo:Point> </rdf:RDF>

Microformat

The Geo microformat allows coordinates within HTML pages to be marked up in such a way that they can be "discovered" by software tools. Example:

<span class="geo">
<span class="latitude">50.167958</span>;
<span class="longitude">-97.133185</span>
</span>

which might display as:

50.167958; -97.133185

(giving a live Geo microformat on this page).

A proposal has been developed[9] to extend Geo to cover other bodies, such as Mars and the Moon.

An example is the Flickr photo-sharing Web site, which provides geographic data for any geotagged photo in all of the above-mentioned formats.

Wikipedia

On Wikipedia it is possible to include geotagged information in articles (and thus also images), using the template {{coord}}, while on Wikimedia Commons the {{location}} template is often used to tag camera locations. The inserted coordinates will be presented in the top right corner as a link on the Wikimedia Toolserver,[10] allowing the user to click further on to different geographic content on the Internet. For the article Råbjerg Mile it looks like this:

Geotagging in tag-based systems

No industry standards exist, however there are a variety of techniques for adding geographical identification metadata to an information resource. One convention, established by the website Geobloggers and used by more and more sites, e.g. photo sharing sites Panoramio and Flickr, and the social bookmarking site del.icio.us, enables content to be found via a location search. All sites allow users to add metadata to an information resource via a set of so-called machine tags (see folksonomy).

geotagged
geo:lat=57.64911
geo:lon=10.40744

This describes the geographic coordinates of a particular location in terms of latitude (geo:lat) and longitude (geo:lon). These are expressed in decimal degrees in the WGS84 datum, which has become something of a default geodetic datum with the advent of GPS.

Using three tags works within the constraint of having tags that can only be single 'words'. Identifying geotagged information resources on sites like Flickr and del.icio.us is done by searching for the 'geotagged' tag, since the tags beginning 'geo:lat=' and 'geo:lon=' are necessarily very variable.

Another option is to tag with a Geohash:

geo:hash=u4pruydqqvj

A further convention proposed by FlickrFly adds tags to specify the suggested viewing angle and range when the geotagged location is viewed in Google Earth:

ge:head=225.00
ge:tilt=45.00
ge:range=560.00

These three tags would indicate that the camera is pointed heading 225° (south west), has a 45° tilt and is 560 metres from the subject.

Where the above methods are in use, their coordinates may differ from those specified by the photo's internal EXIF data, for example because of a correction or a difference between the camera's location and the subject's.

Geoblogging

Geoblogging attaches specific geographic location information to blog entries via geotags. Searching a list of blogs and pictures tagged using geotag technology allows users to select areas of specific interest to them on interactive maps.[11]

The progression of GPS technology, along with the development of various online applications, has fueled the popularity of such tagged blogging, and the combination of GPS Phones and GSM localization, has led to the moblogging, where blog posts are tagged with exact position of the user. Real-time geotagging relays automatically geotagged media such as photos or video to be published and shared immediately.

Wikipedia article geosearching apps

One of the first attempts to initiate the geotagging aspect of searching and locating articles seems to be the now-inoperative site Wikinear.com, launched in 2008, which showed the user Wikipedia pages that are geographically closest to one's current location.[12]

The 2009 app Cyclopedia works relatively well showing geotagged Wikipedia articles located within several miles of ones location, integrated with a street-view mode, and 360-degree mode.

The app Respotter Wiki, launched in 2009, claims to feature Wikipedia searching via a map, also allowing users to interact with people around them, via messaging and reviews, etc. The app, in its current function, however, seems to give only geotagged photo results.

Dangers of geotagging

Following a scientific study[13] and several demonstrative websites,[14][15] a discussion on the privacy implications of geotagging has raised public attention.[16][17][18][19] In particular, the automatic embedding of geotags in pictures taken with smartphones is often ignored by cell-phone users. As a result, people are often not aware that the photos they publish on the Internet have been geotagged. Many celebrities reportedly gave away their home location without knowing it. According to the study, a significant number of for-sale advertisements on Craigslist, that were otherwise anonymized, contained geotags, thereby revealing the location of high-valued goods—sometimes in combination with clear hints to the absence of the offerer at certain times. Publishing photos and other media tagged with exact geolocation on the Internet allows random people to track an individual's location and correlate it with other information. Therefore, criminals could find out when homes are empty because their inhabitants posted geotagged and timestamped information both about their home address and their vacation residence. These dangers can be avoided by removing geotags with a metadata removal tool for photos before publishing them on the Internet.[20]

See also

References

  1. ^ "Geo Tagged QR Codes". http://qrd.by. Retrieved 2011-10-24. 
  2. ^ Anick Jesdanun, AP (2008-01-18). "GPS adds dimension to online photos". http://www.mywire.com/pubs/AP/2008/01/18/5437214?extID=10051. Retrieved 2008-01-19. 
  3. ^ "Wireless 911 Services". http://www.fcc.gov/cgb/consumerfacts/wireless911srvc.html. Retrieved 2010-07-15. 
  4. ^ Bobbitt, Rick (26 September 2009). "Photographers Have Several Camera Options for Geotagging Pictures with GPS Points". Directions Magazine. http://www.directionsmag.com/article.php?article_id=3283. Retrieved 15 October 2011. 
  5. ^ In this format, a positively signed coordinate indicates Northern or Eastern hemisphere, while negative sign indicates Southern or Western hemisphere.
  6. ^ "Adding yourself to GeoURL". http://geourl.org/add.html. Retrieved 2008-07-30. 
  7. ^ The Internet Engineering Task Force. "Geographic registration of HTML documents". http://tools.ietf.org/id/draft-daviel-html-geo-tag-08.txt. Retrieved 2008-07-30. 
  8. ^ W3C Semantic Web Interest Group. "Basic Geo (WGS84 lat/long) Vocabulary". http://www.w3.org/2003/01/geo/. Retrieved 2008-07-30. 
  9. ^ "Geo Extension Straw-Man Proposal". http://microformats.org/wiki/geo-extension-strawman. Retrieved 2007-12-28. 
  10. ^ "Wikimedia Toolserver". http://tools.wikimedia.de/startsite/. Retrieved 2008-07-30. 
  11. ^ "Example of pictures with geotag, using mobile phone". http://www.everytrail.com/view_trip.php?trip_id=294109. 
  12. ^ Willison, Simon. (2008). “Wininear.com, OAuth and Fire Eagle”, SimonWillison.net, Mar 22 2008
  13. ^ G. Friedland, R. Sommer: "Cybercasing the Joint: On the Privacy Implications of Geo-Tagging", 5th Usenix Hot Topics in Security Workshop (HotSec2010), Washington DC, August 2010.
  14. ^ pleaserobme.com
  15. ^ icanstalku.com
  16. ^ NBC Action News Smartphone pictures pose privacy risk on Youtube
  17. ^ Heussner, Ki Mae, "Celebrities' Photos, Videos May Reveal Location", ABC News, July 16, 2010
  18. ^ Geo-tags reveal celeb secrets, 12 July 2010, by Jim Giles, New Scientist
  19. ^ Web Photos That Reveal Secrets Such As Where You Live / “MythBusters” host inadvertently reveals his home address on Twitter
  20. ^ For instance, ExifCleaner and JPEG & PNG Stripper

Further reading