From da1b02d644d92e1fb130c57c926f1c1b0b167eb4 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Sat, 29 Aug 2020 12:10:50 +0100 Subject: [PATCH] fix_1268_GPSProcessingMethod --- samples/geotag.cpp | 2 +- test/data/geotag-test.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/geotag.cpp b/samples/geotag.cpp index 84061f52..cbcdc40d 100644 --- a/samples/geotag.cpp +++ b/samples/geotag.cpp @@ -906,7 +906,7 @@ int main(int argc,const char* argv[]) image->readMetadata(); Exiv2::ExifData& exifData = image->exifData(); if ( pPos ) { - exifData["Exif.GPSInfo.GPSProcessingMethod" ] = "65 83 67 73 73 0 0 0 72 89 66 82 73 68 45 70 73 88"; // ASCII HYBRID-FIX + exifData["Exif.GPSInfo.GPSProcessingMethod" ] = "charset=Ascii HYBRID-FIX"; exifData["Exif.GPSInfo.GPSVersionID" ] = "2 2 0 0"; exifData["Exif.GPSInfo.GPSMapDatum" ] = "WGS-84"; diff --git a/test/data/geotag-test.out b/test/data/geotag-test.out index 7252776f..081f2582 100644 --- a/test/data/geotag-test.out +++ b/test/data/geotag-test.out @@ -23,5 +23,5 @@ Exif.GPSInfo.GPSAltitudeRef Byte 1 Below sea level Exif.GPSInfo.GPSAltitude Rational 1 14.3 m Exif.GPSInfo.GPSTimeStamp Rational 3 09:54:28 Exif.GPSInfo.GPSMapDatum Ascii 7 WGS-84 -Exif.GPSInfo.GPSProcessingMethod Undefined 58 65 83 67 73 73 0 0 0 72 89 66 82 73 68 45 70 73 88 +Exif.GPSInfo.GPSProcessingMethod Undefined 18 charset=Ascii HYBRID-FIX Exif.GPSInfo.GPSDateStamp Ascii 20 2008:05:08 09:54:28