Jump to content

Geotagging

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zeninteractiva (talk | contribs) at 06:22, 15 July 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Geotag information in a JPEG photo, shown by the software gThumb
Geotagger "Solmeta N2 Kompass" for Nikon DSLR

Geotagging (also written as GeoTagging) is the process of adding geographical identification metadata to various media such as photographs, video, websites, SMS messages, 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. It is commonly used for photographs, giving geotagged photographs.

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.[1] 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.

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,[2] more and more cell phones have built-in GPS chips. Some cell phones like the iPhone and Motorola Backflip 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 such as Nikon, Sony and Ricoh. 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 such as GPS-Photo Link, Alta4, or EveryTrail to write the location information to the image's exif header.

Geographic coordinates can also be added to a photograph after the photograph is taken by “attaching” the photograph to a map using programs such as Flickr and Panoramio. These programs can then write the latitude and longitude into the photos exif header after you have selected the location on a map.


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.[3] 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[4] standard requires the ICBM tag[5] 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:[6]

<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[7] 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}}. On Wikimedia Commons it is more common to tag camera locations with template {{location}}. The inserted coordinates will be presented in the top right corner as a link on the Wikimedia Toolserver,[8] allowing the user to click further on to different geographic content on the Internet. For the article Råbjerg Mile it looks like this:

File:Geotagged EN Wiki.png

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.[citation needed]

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.[9]

The progression of GPS technology, along with the development of various online applications, has fueled the popularity of such tagged blogging, [citation needed] 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.[10]

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[11] and several demonstrative websites,[12][13] a discussion on the privacy implications of geotagging has raised public attention.[14][15][16][17] 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.[18]

See also

References

  1. ^ Anick Jesdanun, AP (2008-01-18). "GPS adds dimension to online photos". Retrieved 2008-01-19.
  2. ^ "Wireless 911 Services". Retrieved 2010-07-15.
  3. ^ In this format, a positively signed coordinate indicates Northern or Eastern hemisphere, while negative sign indicates Southern or Western hemisphere.
  4. ^ "Adding yourself to GeoURL". Retrieved 2008-07-30.
  5. ^ The Internet Engineering Task Force. "Geographic registration of HTML documents". Retrieved 2008-07-30.
  6. ^ W3C Semantic Web Interest Group. "Basic Geo (WGS84 lat/long) Vocabulary". Retrieved 2008-07-30.{{cite web}}: CS1 maint: numeric names: authors list (link)
  7. ^ "Geo Extension Straw-Man Proposal". Retrieved 2007-12-28.
  8. ^ "Wikimedia Toolserver". Retrieved 2008-07-30.
  9. ^ "Example of pictures with geotag, using mobile phone".
  10. ^ Willison, Simon. (2008). “Wininear.com, OAuth and Fire Eagle”, SimonWillison.net, Mar 22 2008
  11. ^ 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.
  12. ^ http://www.pleaserobme.com pleaserobme.com
  13. ^ http://www.icanstalku.com icanstalku.com
  14. ^ http://www.youtube.com/watch?v=N2vARzvWxwY NBC Action News Smartphone pictures pose privacy risk
  15. ^ http://abcnews.go.com/Technology/celebrity-stalking-online-photos-give-location/story?id=11162352 Celebrities' Photos, Videos May Reveal Location
  16. ^ http://www.newscientist.com/article/dn19160-geotags-reveals-celeb-secrets.html Geo-tags reveal celeb secrets
  17. ^ http://www.nytimes.com/2010/08/12/technology/personaltech/12basics.html?_r=2 Web Photos That Reveal Secrets Such As Where You Live / “MythBusters” host inadvertently reveals his home address on Twitter
  18. ^ For instance, ExifCleaner and JPEG & PNG Stripper

Further reading

  • Luo, Jiebo; Joshi, Dhiraj; Yu, Jie; Gallagher, Andrew. "Geotagging in multimedia and computer vision—a survey". Multimedia Tools and Applications. 51 (1). Springer: 187–211. doi:10.1007/s11042-010-0623-y.