Perform Calculation on EXIF using XMP?
Posted: Mon Sep 12, 2022 8:23 pm
My altitude data sucks. For whatever reason, the relative altitude (stored in XMP under drone-dji:RelativeAltitude) is correct; but the absolute altitude (drone-dji:AbsoluteAltitude) and EXIF_GPS Altitude are both wrong.
I know how to perform a calculation on EXIF_GPS Altitude: task Set EXIF/IPTC Tag, and set the tag value to, for instance, "EXIF_GPS Altitude + 50." That will add 50M to all of my altitudes. This does not do what I want.
What I need to have happen is to set the tag EXIF_GPS Altitude with a value of "drone-dji:RelativeAltitude+X," where X is local elevation above sea level, and then go back and replace "drone-dji:AbsoluteAltitude" with the modified EXIF_GPS Altitude. How do I make this happen?
I know how to perform a calculation on EXIF_GPS Altitude: task Set EXIF/IPTC Tag, and set the tag value to, for instance, "EXIF_GPS Altitude + 50." That will add 50M to all of my altitudes. This does not do what I want.
What I need to have happen is to set the tag EXIF_GPS Altitude with a value of "drone-dji:RelativeAltitude+X," where X is local elevation above sea level, and then go back and replace "drone-dji:AbsoluteAltitude" with the modified EXIF_GPS Altitude. How do I make this happen?