The images acquired with the camera were geotagged and processed to add additional information required by the USGS to the EXIF headers using ExifTools (https://exiftool.org/
, version: 12.06) and the files were renamed to a unique identifier using Namexif (http://www.digicamsoft.com/softnamexif.html
, version 2.1) to avoid any possibility of duplicate names. These steps are described here:
1. ExifTools was used to geotag each photo with the GPSDateStamp, GPSTimeStamp, GPSLatitude, and GPSLongitude with the command: exiftool -csv=directoryname\EXIF_tags.csv ; where the CSV file has the following headings and information (anything in () is format based and is only provided to give more context) -Credit="U.S. Geological Survey " -Contact="WHSC_data_contact@usgs.gov " -Copyright="Public Domain " -ImageDescription="Photographs of Head of the Meadow Beach, Truro, Massachusetts, USA from USGS field survey 2020-015-FA " -Attribution="https://doi.org/10.5066/P9KSG1RQ
" -Event="USGS Field Activity 2020-015-FA " -GPSAreaInformation="position post-processed from nearby GPS " -GPSMapDatum="ESPG: 6317 (NAD83(2011)) " -GPSDateStamp="2020:03:06 " -GPSTimeStamp="(HH:MM:SS) " -GPSLatitude="(in decimal degrees) " -GPSLatitudeRef="N " -GPSLongitude="(in decimal degrees)" -GPSLongitudeRef="W " -Artist="Peter Traykovski (WHOI)" -Comment="flight number # of 2 (where # is either 1 or 2) " -OriginalFilename="M#######.JPG (where # combinations are unique) " *.JPG
Keywords were added with the following exiftool -sep ", " -iptc:keywords="Head of the Meadow Beach, Massachusetts, 2020-015-FA, Ricoh, USGS, aerial imagery" *.JPG
To read out the photo information to a csv the command is exiftool -csv -f -filename -GPSDateStamp -GPSTimeStamp -GPSLongitude -GPSLatitude -n -Artist -Contact -Comment -Credit -Copyright -ImageDescription -OriginalFileName -AttributionURL -Event -GPSAreaInformation -GPSMapDatum *.JPG > directoryname/out.csv
Fewer tags or additional tags may be taken out with this command from those written above.
2. All the JPG images were renamed with Namexif to ensure unique filenames and compliance with the USGS Coastal and Marine Hazards and Resources Program's best practices for image naming convention. Images were renamed with a field survey ID prefix; a flight number and ID that distinguishes among USGS cameras by make, model, and camera number; the image acquisition date and coordinated universal time (UTC) in ISO8601 format, and a suffix with the original image name. For example, image name '2020015FA_f01r02_20200306T165822Z_M1040356.JPG', 2020015FA is the survey ID, f01 is the flight number, r02 is the internal camera ID, 20200306 is the UTC date in the format YYYYMMDD. A 'T' is used to separate UTC date from UTC time in format HHMMSS followed by a Z, and M1040356.JPG is the original raw photo name appended to the end of the new filename.