ExifTool Forum

ExifTool => Newbies => Topic started by: wildwalks on October 11, 2012, 09:15:39 AM

Title: Updating GPS:GPSImgDirection (and staying within the circle)
Post by: wildwalks on October 11, 2012, 09:15:39 AM
Hi

I am new to Exiftools - so far I am very impressed - thanks Phil

I have geotagged some images with heading,pitch and roll data - and that works great.

My GPS compass was not calibrated so I want to tweak the heading data by adding 42degrees

exiftool "-GPS:GPSImgDirection=110" image.jpg
Works fine, until the you hit 360 degrees and you get values like 421 degrees - which is a bit odd :)
Is there Any way to make these values "rollover" at 360?
IE 370 degree should actually be 10Degrees
(I guess the reverse problem can happen in -ve values as well.)

Thanks

Matt  :)



Title: Re: Updating GPS:GPSImgDirection (and staying within the circle)
Post by: Phil Harvey on October 11, 2012, 10:08:08 AM
Hi Matt,

I had a similar question recently and didn't even think about using the increment feature.  I have updated that thread with a response that should answer your question (https://exiftool.org/forum/index.php/topic,4462.msg21255.html#msg21255).

- Phil