A PYTHON script (UpdatePhotoEXIFv3b.py) was then run that incorporated the matched up location data, along with additional survey information, into the appropriate locations in the EXIF header of each JPEG image. The PYTHON script uses exiftool (version 10.47) 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 from the process of pairing the photo with locations in the navigation logfiles.
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.
Comment: Photo from a down-looking GoPro HD Hero2 on the USGS modified SEABOSS deployed from the R/V Rafael during survey 2012-024-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2012-024-FA)
EXIF tags: The tag is listed along with the information used to populate it - which is the same for every image.
ImageDescription: Photograph of the river-bed in the Connecticut River from USGS survey 2012-024-FA
Artist: Seth Ackerman
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: WHSC_data_contact@usgs.gov
Keywords: Connecticut River, Old Saybrook, Essex, Connecticut, 2012-024-FA, SEABOSS, river-bed, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Photograph of the river-bed in the Connecticut River from USGS survey 2012-024-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 the river-bed in the Connecticut River from USGS survey 2012-024-FA
To extract the information from the image headers using ExifTool, the following command can be used (tested with ExifTool version 10.47):
exiftool -csv -f -filename -GPSTimeStamp -GPSDateStamp -GPSLongitude -GPSLatitude -n -Artist -Credit -comment -keywords -Caption -Copyright -CopyrightNotice -Caption-Abstract -ImageDescription imgtest/*.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.