Main Menu

GPS-conversion

Started by Archive, May 12, 2010, 08:54:05 AM

Previous topic - Next topic

Archive

[Originally posted by linuxuser on 2007-05-28 18:02:24-07]

Exiftool does a great job with GPS-inputs. Can I use exiftool somehow to convert a triple of values (degree minute second) to a decimal-value? I would like to use it with a bash-script, which uses gps-variables from different sources. My input could be degree,minute,second or degree minute second.

Archive

[Originally posted by exiftool on 2007-05-28 18:28:03-07]

Now you're starting to stretch the scope of ExifTool beyond its
designed function.  The best way to do what you want is to write
a bit of Perl yourself, possibly using the ExifTool conversion
routines if you want.  The command line interface won't do this
without going through a temporary file, which would be slow.

- Phil