EXIF data for the photographs were populated using the ASCII table of field collection data. This was necessary because most photographs uploaded through the application did not include EXIF data. The lack of EXIF data was caused by privacy practices of the users or the mobile operating systems.
Attribute formatting was modified in the Pandas Python package (version 3.3) to match the requirements for EXIF data: The ‘datetime’ attribute was split into two attributes: ‘date’ and ‘time’ with all formatting removed. The attributes and final formatting was as follows: id = unique-id-string.jpg; lat = DD.dddddd; lon = -DD.dddddd; time = hhmmss; date = YYYYMMDD. A Python (version 2.7) script was then run that incorporated this information, along with additional information, into the appropriate locations in the EXIF header of each full-resolution JPEG file. If latitude or longitude was negative, the appropriate GPS tag was set to South or West. The script used ExifTool (version 9.4.6.0) to write the information to the image headers of the full-resolution images.
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 associated iPlover points CSV file. These positions and time actually represent when the data were recorded in the iPlover app, which should be 5 m and a few seconds offset from the location and time at which the photograph was actually taken according to standard iPlover data collection.
GPSLatitudeRef
GPSLatitude
GPSLongitudeRef
GPSLongitude
GPSTimeStamp
GPSDateStamp
JPEG tags: The tag is listed along with the information used to populate it - which is the same for every image taken.
Comment: Photograph collected in iPlover, 2016
EXIF tags: The tag is listed along with the information used to populate it - which is the same for every image.
ImageDescription: Photograph collected in iPlover, 2016
Artist: Anonymous iPlover user
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: Shorebird habitat, US Atlantic coast, USGS
CopyrightNotice: Public Domain. Please credit U.S. Geological Survey
Caption-Abstract: Photograph collected in iPlover, 2016
XMP tags: The tag is listed along with the information used to populate it - which is the same for every image.
Caption: Photograph collected in iPlover, 2016
To extract the information from the image headers using ExifTool, the following command can be used (tested with ExifTool version 9.4.6.0):
exiftool.exe -csv -f -filename -GPSDateStamp -GPSTimeStamp -GPSLongitude -GPSLatitude -n -Artist -Credit -comment –Contact -keywords -Caption -Copyright -CopyrightNotice -Caption-Abstract -ImageDescription *.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.