Using Exchangeable image file format (Exif) data, the GPS date, time and coordinates recorded during sediment core collection were embedded in the whole-core (CoreID.jpg) and stitched (CoreID_sc_adj.jpg) 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 information exported from the handheld GPS.
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 core collected in January 2015 from Breton and Gosier Islands, Louisiana during field activity number 2014–336–FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2014-336-FA). Published as USGS data release DOI:10.5066/F79C6VKF.
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 Breton National Wildlife Refuge, LA during 2014–336–FA.
Artist: U.S. Geological Survey
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: Breton National Wildlife Refuge, Louisiana, Breton Island, Gosier Island, 2014-336-FA, push-core, grab sample, vibracore, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Photograph of sediment core collected from Breton National Wildlife Refuge, LA during 2014–336–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 Breton National Wildlife Refuge, LA during 2014–336–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.