GPS data in different formats

Started by axel.hennig, November 14, 2014, 11:01:21 PM

Previous topic - Next topic

axel.hennig

Hi,

I wanted to write my first little app. Just a link of the form

https://www.google.de/maps/@LATITUDE,LONGITUDE,11z

I started with the  "Copy Data App" and tried the variable {File.MD.XMP::exif\GPSLatitude\GPSLatitude\0}, but the data is displayed as

47 deg 32' 19.64" N

and not as

47.5387891

as in the "Metadata -> Location" panel (XMP::exif\\GPSLatitude\GPSLatitude\0).

Can somebody explain why these variables (which are the same for me) are displayed in different ways?

Thanks a lot.

Axel

JohnZeman

You can output the GPS in either format.  To force IMatch to display as digital change your tag to this:

{File.MD.XMP::exif\GPSLatitude\GPSLatitude\0|value:rawfrm; substr:0,8}

Note the 8 at the far end of the tag limits the digital output to 8 characters so you don't end up with a display such as 47.598083536345678

See the Variables > Formatting section in Help for more information.

axel.hennig

Hi JohnZeman,

thanks a lot. This did the job.

Axel