GPS data are not copied from Location Shown to Location Created and visa versa.

Started by mosdubindi1, December 27, 2023, 10:20:13 AM

Previous topic - Next topic

mosdubindi1

Hello Mario,

When trying to copy all data using template from Location Shown to Location Created and visa versa, GPS data are not copied. Same result in Metadata Mechanic.

Thanks in advance,
Dmitriy

mosdubindi1

Hello Mario,

I was also trying to copy exif GPS into Location Created and Location Shown and looks like it does not work.

For example copy from exif GPS into Location Created by template Copy GPSexif - LocCre GPS. exif GPS data exist for the image. After applying the template GPS data are not copied. If delete blank record, which appears after applying template, then exif GPS data are also deleted.
The same result if using RAW or formatted variable.

{File.MD.XMP::exif\GPSLatitude\GPSLatitude\0|value:rawfrm} or {File.MD.XMP::exif\GPSLatitude\GPSLatitude\0|value:formatted}

Mario

Metadata templates only fill the formatted tag value. They cannot set/access the raw tag value in a Metadata Template.
This is by design since the raw part often requires specific formatting or precision, something that is out of the scope of Metadata Templates which are designed for text.

IMatch uses for GPS coordinates and some other tags the raw/numerical portion of the tag value for precision and easy handling across all GPS-related features and services. The formatted value of the tag is then created during write-back and re-ingest by ExifTool.

Consider using Locations or AutoFill for setting GPS coordinates.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

mosdubindi1

Thank you Mario, finally I understand logic behind the following GPS data:

  • exif
  • Location Created
  • Location Shown

For newly imported files exif GPS data are copied into Location Created GPS. Location Shown GPS data are managed by Destination coordinate functionality. No need to maintain GPS data for Location Shown if Location Created GPS = Location Shown GPS.

However for previously imported files, Location Created GPS data are blank, and to update the fields need to force Metadata write-back or rescan.

Mario

See this for reference about how and why IMatch deals with location created and shown in the way it does, especially the conclusion of this lengthy discussion: https://www.photools.com/community/index.php/topic,13712.msg96728.html#msg96728
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook