Missing XMP entry
I have a IIQ file which contains XMP metadata. When I use the exempi
binary (version 2.4.5) to dump the XMP ( P0030790.IIQ.exempi.xml) it is missing the entry GPSDateStamp
. However if I use the following python program to read the XML from tag 700 the entry exists.
#!/usr/bin/env python
from PIL import Image
with Image.open('P0030790.IIQ') as im:
xmp_xml = im.tag[700][0]
import xml.etree.ElementTree as ET
root = ET.fromstring(xmp_xml)
for element in root.iter():
print(element.tag, '=', element.text)
This program outputs:
{adobe:ns:meta/}xmpmeta = None
{http://www.w3.org/1999/02/22-rdf-syntax-ns#}RDF = None
{http://www.w3.org/1999/02/22-rdf-syntax-ns#}Description = None
{http://ns.adobe.com/exif/1.0/}GPSDateStamp = 2018-11-02
{http://ns.adobe.com/exif/1.0/}GPSTimeStamp = 15:21:39.0+00:00
{http://ns.adobe.com/exif/1.0/}GPSLatitude = 32,54.278778N
{http://ns.adobe.com/exif/1.0/}GPSLongitude = 96,33.506934W
{http://ns.adobe.com/exif/1.0/}GPSAltitudeRef = 0
{http://ns.adobe.com/exif/1.0/}GPSAltitude = 235662/1000
{http://ns.adobe.com/exif/1.0/}GPSSpeedRef = K
{http://ns.adobe.com/exif/1.0/}GPSSpeed = 3031/100
{http://ns.adobe.com/exif/1.0/}GPSTrackRef = T
{http://ns.adobe.com/exif/1.0/}GPSTrack = 9013/100
{http://www.w3.org/1999/02/22-rdf-syntax-ns#}Description = None
{http://www.phaseone.com/aerialgps/}GPSIMUPitch = -5999/10000
{http://www.phaseone.com/aerialgps/}GPSIMURoll = -6000/10000
{http://www.phaseone.com/aerialgps/}GPSIMUYaw = 186000/10000
{http://www.phaseone.com/aerialgps/}GPSIMUYawRef = T