Using Exchangeable image file format (Exif) data, the GPS date, time and coordinates recorded during sediment core collection were embedded in the core photograph's image metadata. The Exif headers were initially populated by the camera’s imaging software but were subsequently updated by USGS staff to include core-related supplemental information. A Python version 2.7.3 script (UpdatePhotoEXIFv2.py) was run to incorporate location information and auxiliary details into the appropriate locations within the Exif header of each full-resolution JPEG image. The Python script used ExifTool version 10.25 to write the information to the image headers.
The following tags were populated in the JPEG image headers. Information is duplicated in some tags. This was done because different software packages access different tags.
GPS tags: The values populated are unique for each image and based on the post-processed DGPS position information.
GPSLatitudeRef
GPSLatitude
GPSLongitudeRef
GPSLongitude
GPSTimeStamp
GSPDateStamp
JPEG tags: The tag is listed along with the information used to populate it - which is the same for every image taken with a particular camera. The following information is based on the Canon PowerShot SX20 IS camera.
comment: Photo of vibracore collected in April 2016 from Fire Island, New York during field activity number 2016-322-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2016-322-FA). Published as USGS data release DOI:10.5066/F7FN15GX.
EXIF tags: The tag is listed along with the information used to populate it - which is the same for every image.
ImageDescription: Photograph of sediment core collected from Fire Island, NY during 2016-322-FA.
Artist: J. Bernier
Copyright: Public Domain - please credit U.S. Geological Survey
IPTC tags: The tag is listed along with the information used to populate it - which is the same for every image.
Credit: U.S. Geological Survey
Contact: gs-g-spcmsc_data_inquiries@usgs.gov
Keywords: Fire Island National Seashore, New York, Fire Island, 2016-322-FA, Hurricane Sandy, sediment sample, vibracore, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Photograph of sediment core collected from Fire Island, NY during 2016-322-FA.
XMP tags: The tag is listed along with the information used to populate it - which is the same for every image.
Caption: Photograph of sediment core collected from Fire Island, NY during 2016-322-FA.
To extract the information from the image headers using ExifTool, the following command can be used (tested with ExifTool version 10.25):
exiftool.exe -csv -f -filename -GPSTimeStamp -GPSLongitude -GPSLatitude -n -Artist -Credit -comment -keywords -Caption -Copyright -CopyrightNotice -Caption-Abstract -ImageDescription photos/*.jpg > out.csv
The -csv flag writes the information out in a comma-delimited format. The -n option formats the latitude and longitude as signed decimal degrees.