Updating GPS:GPSImgDirection (and staying within the circle)

Started by wildwalks, October 11, 2012, 09:15:39 AM

Previous topic - Next topic

wildwalks

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  :)




Phil Harvey

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.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).