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 oblique-looking GoPro Hero 3+ Black on the USGS SEABOSS deployed from the M/V Scarlett Isabella
during survey 2014-009-FA (https://cmgds.er.usgs.gov/fan_info.php?fan=2014-009-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 sea floor off Fire Island, New York from survey 2014-009-FA
Artist: Jane Denny
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: Fire Island, New York Bight, New York, 2014-009-FA, SEABOSS, sea floor, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Photograph of the sea floor off Fire Island, New York from survey 2014-009-FAXMP tags: The tag is listed along with the information used to populate it - which is the same for every image.
Caption: Photograph of the sea floor off Fire Island, New York from survey 2014-009-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.