Hi
I am trying to batch apply Geotags to a series of 997 JPEG files taken using a fixed-wing UAV. The Lat, Long, Altitude values were stored as CSV, which I hae converted to a comma-separated text file, as per instructions from this forum post: https://exiftool.org/forum/index.php/topic,5771.0.html?PHPSESSID=98vpmba7vpg3hti4cjl29eru63
The process worked and all images were geotagged. However all of the resulting geotags were positive/ Northern hemisphere Latitudes instead of Southern hemisphere – even though the input values in the TXT file are negative. I attach the input TXT file and a sample of an output image.
Is there a special trick to geotagging southern latitudes?
I appreciate any advice or suggestions.
Regards
Peter
Quote from: PROREGAN on August 13, 2016, 01:49:33 AM
Is there a special trick to geotagging southern latitudes?
tl;dr
Set
GPSLatitudeRef tag to "South"
Long version:
GPSLatitude and GPSLongitude, by default, are written to the EXIF block. The trouble is that in the EXIF block, those values are unsigned and in order to decode whether the value is North/South or East/West requires that you also write the GPSLatitudeRef and GPSLongitudeRef values.
The alternative would be to write to XMP:GPSLatitude and XMP:GPSLongitude which does accept negative numbers. Then, if you need the EXIF gps tags written to, you could use the xmp2gps.args file from full distribution to copy the Ref values.
Thanks for the fast and helpful reply.
I executed the following command and it worked like a charm!
exiftool -csv=position_data.txt -gpslatituderef=S -gpslongituderef=E -gpsaltituderef=above .
All images display in their correct position.
Thanks again
Peter