Geo tagging images - exif gps ifd with python and java
Proposal for EXIF Location IFD [...] The EXIF 2.1 standard contains a GPS IFD allowing the position at which an image was taken to be detailed amongst the usual EXIF data. Information about image location could provide a very useful form of annotation, both for the primary user wishing to search within their own image collection, and for when distributing such images amongst secondary users over the internet, for example.
Exifprobe examines and reports the contents and structure of JPEG and TIFF image files. It will recognize all standard JPEG markers (including APPn markers) and will report the contents of any properly structured TIFF IFD encountered, even when entry tags are not recognized. Recognized TIFF and TIFF/EP tags are expanded, including EXIF2.2 sections and camera MakerNotes which are found to be in TIFF IFD format. GPS and GeoTIFF tags are recognized and entries printed in "raw" form, but are not
expanded. Location, size, and format of image data is reported.
The D1X and D1H products support the recording of Longitude, Latitude and Altitude information with
any picture taken when the D1X/H is receiving GPS data from any valid source.
The D1X/H products support GPS data input in the NEMA 0183 Version 2.0.1 protocol.
RDFMapper is a web service that searches an RDF or RSS file for resources with geographic locations, and returns a map overlayed with dots representing located resources. Clicking on a dot displays a web page representing the clicked resource (see these examples). Arbitrary images can be treated as maps, so the service can be used for any kind of image annotation.
Ruby has support ruby-libexif - an interface to libexif library
libexif is the library for parsing image information contained in EXIF format images. ruby-libexif provides a simple interface to this library.
What began as a simple utility to extract the date-taken from a digital still camera (DSC) Jpeg file is now a general metadata extraction framework. Support currently exists for Exif and Iptc metadata segments. Extraction of these segments is provided for Jpeg files. It is hoped that individuals with specific needs will extend the framework by adding their own classes.
This header is stored in an "application segment" of a JPEG file,
or as privately defined tags in a TIFF file. This means that the resulting JPEG or TIFF is still in a standard format readable by applications that are ignorant of EXIF information. Note that most such applications usually don't keep around anything that they don't understand, so if you edit the image, you will lose
the EXIF information. I wrote EXIF.py
to extract this data into a Python dictionary suitable for use by image gallery programs and other such applications.
The EXIF 2.1 standard contains a GPS IFD allowing the position at which an image was taken to be detailed amongst the usual EXIF data. Information about image location could provide a very useful form of annotation, both for the primary user wishing to search within their own image collection, and for when distributing such images amongst secondary users over the internet, for example.
Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.
* Development Status: 4 - Beta
* Intended Audience: Developers
* License: MIT License
* Programming Language: C
* Topic: Digital Camera
It all started here:
AkuAku SF: gps tagged jpegs
Mie's cellphone can tag each photo she takes with the latitude/longitude coordinates. Last night she tried sending a geotagged jpeg for the first time, so this morning I started researching how to get the coordinates out of the jpeg. It turns out that the data is stored in EXIF headers.
Found all these things after following this boingboing post.
Listed below are links to blogs that reference this entry: Geo tagging images - exif gps ifd with python and java.
TrackBack URL for this entry: