Page 1 of 1

Can’t see the Geotag icon although files have GPS xmp tags

Posted: Sun Feb 18, 2024 6:54 pm
by pi7603
Hi everybody !

The problem is in the title.

I have set the gps tags in xmp sidecar files of raw files (Canon CR2) using Digikam.
Problem is that although there are some gps tags in xmp file, XnView doesn’t show the GPS icon and it doesn’t show either the GPS tab.
jpeg files’ informations are correctly set.
I have set some GPS tags for other raw files (in xmp sidecar files) and Xnview display the information correctly.
Is there something to do to have XnView MP displaying existing GPS tags ?
I thought that it was done automatically, but it’s not always the case.

Thanks for your help.
Regards.

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Mon Feb 19, 2024 12:36 pm
by xnview
could you send me the files?

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Mon Feb 19, 2024 7:57 pm
by pi7603
Content of xmp sidecar of a file not correctly read by XnView MP : 

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xap="http://ns.adobe.com/xap/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:darktable="http://darktable.sf.net/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:video="http://www.video/"
xmlns:digiKam="http://www.digikam.org/ns/1.0/"
xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
xmlns:mwg-rs="http://www.metadataworkinggroup.com/schemas/regions/"
xmlns:MP="http://ns.microsoft.com/photo/1.2/"
xmlns:MPRI="http://ns.microsoft.com/photo/1.2/t/RegionInfo#"
aux:ApproximateFocusDistance="4294967295/1"
aux:Firmware="1.0.9"
aux:FlashCompensation="0/1"
aux:ImageNumber="0"
aux:Lens="EF-S18-55mm f/3.5-5.6 IS"
aux:LensID="48"
aux:LensInfo="18/1 55/1 0/0 0/0"
aux:SerialNumber="1180338135"
crs:RawFileName="IMG_0168.CR2"
dc:format="image/x-canon-cr2"
exif:DateTimeOriginal="2009-01-21T08:31:46Z"
exif:MaxApertureValue="5/1"
exif:GPSLatitudeRef="N"
exif:GPSLongitudeRef="W"
exif:ExifVersion="0221"
exif:FlashpixVersion="0100"
exif:ColorSpace="1"
exif:PixelXDimension="4272"
exif:PixelYDimension="2848"
exif:ExposureTime="1/15"
exif:FNumber="56/10"
exif:ExposureProgram="3"
exif:ShutterSpeedValue="262144/65536"
exif:ApertureValue="327680/65536"
exif:ExposureBiasValue="0/1"
exif:MeteringMode="2"
exif:FocalLength="55/1"
exif:FocalPlaneXResolution="4272000/878"
exif:FocalPlaneYResolution="2848000/584"
exif:FocalPlaneResolutionUnit="2"
exif:CustomRendered="0"
exif:ExposureMode="0"
exif:WhiteBalance="1"
exif:SceneCaptureType="0"
exif:GPSVersionID="2.0.0.0"
exif:GPSLatitude="48,7.0945350N"
exif:GPSLongitude="1,40.8890070W"
exif:GPSMapDatum="WGS-84"
photoshop:EmbeddedXMPDigest="00000000000000000000000000000000"
photoshop:LegacyIPTCDigest="4F8FAA498D892A6600AF660102630A27"
photoshop:SidecarForExtension="CR2"
photoshop:DateCreated="2009-01-21T08:31:46Z"
xap:MetadataDate="2009-01-21T08:31:46Z"
xap:Rating="1"
xap:ModifyDate="2009-01-21T08:31:46Z"
xap:CreateDate="2009-01-21T08:31:46Z"
xmpMM:DocumentID="95D8022223D30C1529ADC7EB0A11CD09"
xmpMM:InstanceID="xmp.iid:999293e3-d158-4a34-8e59-425e3590d655"
xmpMM:OriginalDocumentID="95D8022223D30C1529ADC7EB0A11CD09"
xmpMM:DerivedFrom="IMG_0168.CR2"
darktable:xmp_version="2"
darktable:raw_params="0"
darktable:auto_presets_applied="0"
darktable:history_end="0"
tiff:DateTime="2009-01-21T08:31:46Z"
tiff:ImageWidth="4272"
tiff:ImageLength="2848"
tiff:Compression="6"
tiff:Orientation="1"
tiff:XResolution="72/1"
tiff:YResolution="72/1"
tiff:ResolutionUnit="2"
tiff:Make="Canon"
tiff:Model="Canon EOS 450D"
video:DateTimeOriginal="2009-01-21T08:31:46Z"
video:DateUTC="2009-01-21T08:31:46Z"
video:ModificationDate="2009-01-21T08:31:46Z"
digiKam:PickLabel="0">
<dc:subject>
<rdf:Bag>
<rdf:li>paysage</rdf:li>
<rdf:li>paysage|urbain</rdf:li>
</rdf:Bag>
</dc:subject>
<exif:Flash
exif:Fired="False"
exif:Function="False"
exif:Mode="2"
exif:RedEyeMode="False"
exif:Return="0"/>
<exif:ComponentsConfiguration>
<rdf:Seq>
<rdf:li>1</rdf:li>
<rdf:li>2</rdf:li>
<rdf:li>3</rdf:li>
<rdf:li>0</rdf:li>
</rdf:Seq>
</exif:ComponentsConfiguration>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>800</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<xmpMM:History>
<rdf:Seq>
<rdf:li
stEvt:action="saved"
stEvt:changed="/metadata"
stEvt:instanceID="xmp.iid:999293e3-d158-4a34-8e59-425e3590d655"
stEvt:softwareAgent="Adobe Photoshop Lightroom 6.14 (Macintosh)"
stEvt:when="2018-12-06T20:59:12+01:00"/>
</rdf:Seq>
</xmpMM:History>
<darktable:mask_id>
<rdf:Seq/>
</darktable:mask_id>
<darktable:mask_type>
<rdf:Seq/>
</darktable:mask_type>
<darktable:mask_name>
<rdf:Seq/>
</darktable:mask_name>
<darktable:mask_version>
<rdf:Seq/>
</darktable:mask_version>
<darktable:mask>
<rdf:Seq/>
</darktable:mask>
<darktable:mask_nb>
<rdf:Seq/>
</darktable:mask_nb>
<darktable:mask_src>
<rdf:Seq/>
</darktable:mask_src>
<darktable:history>
<rdf:Seq/>
</darktable:history>
<tiff:BitsPerSample>
<rdf:Seq>
<rdf:li>8 8 8</rdf:li>
</rdf:Seq>
</tiff:BitsPerSample>
<lr:hierarchicalSubject>
<rdf:Bag>
<rdf:li>paysage</rdf:li>
<rdf:li>paysage|urbain</rdf:li>
</rdf:Bag>
</lr:hierarchicalSubject>
<mwg-rs:Regions rdf:parseType="Resource">
<mwg-rs:RegionList>
<rdf:Bag/>
</mwg-rs:RegionList>
</mwg-rs:Regions>
<MP:RegionInfo rdf:parseType="Resource">
<MPRI:Regions>
<rdf:Bag/>
</MPRI:Regions>
</MP:RegionInfo>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Mon Feb 19, 2024 8:11 pm
by pi7603
Content of a xmp sidecar of a file correctly read by XnView MP : 

<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 12.67'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about=''
xmlns:aux='http://ns.adobe.com/exif/1.0/aux/'>
<aux:FlashCompensation>0/256</aux:FlashCompensation>
<aux:Lens>LUMIX G VARIO 14-140/F3.5-5.6</aux:Lens>
<aux:LensInfo>14/1 140/1 35/10 56/10</aux:LensInfo>
<aux:LensSerialNumber>46DIB15F045N</aux:LensSerialNumber>
<aux:SerialNumber>BHLB14228</aux:SerialNumber>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:crs='http://ns.adobe.com/camera-raw-settings/1.0/'>
<crs:RawFileName>2018-11-11-14-43-51.ORF</crs:RawFileName>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dc:format>image/x-olympus-raw</dc:format>
<dc:rights>
<rdf:Alt>
<rdf:li xml:lang='x-default'/>
</rdf:Alt>
</dc:rights>
<dc:subject>
<rdf:Bag>
<rdf:li>paysage</rdf:li>
<rdf:li>montagne</rdf:li>
<rdf:li>lac</rdf:li>
<rdf:li>Espagne|Andalousie|Zahara</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:title>
<rdf:Alt>
<rdf:li xml:lang='x-default'>Zahara</rdf:li>
</rdf:Alt>
</dc:title>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:exif='http://ns.adobe.com/exif/1.0/'>
<exif:ApertureValue>6/1</exif:ApertureValue>
<exif:ColorSpace>1</exif:ColorSpace>
<exif:Contrast>0</exif:Contrast>
<exif:CustomRendered>0</exif:CustomRendered>
<exif:DateTimeOriginal>2018-11-11T14:43:51</exif:DateTimeOriginal>
<exif:DigitalZoomRatio>1/1</exif:DigitalZoomRatio>
<exif:ExifVersion>0230</exif:ExifVersion>
<exif:ExposureBiasValue>0/1</exif:ExposureBiasValue>
<exif:ExposureMode>0</exif:ExposureMode>
<exif:ExposureProgram>3</exif:ExposureProgram>
<exif:ExposureTime>1/250</exif:ExposureTime>
<exif:FNumber>8/1</exif:FNumber>
<exif:FileSource>3</exif:FileSource>
<exif:Flash rdf:parseType='Resource'>
<exif:Fired>False</exif:Fired>
<exif:Function>False</exif:Function>
<exif:Mode>1</exif:Mode>
<exif:RedEyeMode>False</exif:RedEyeMode>
<exif:Return>0</exif:Return>
</exif:Flash>
<exif:FlashpixVersion>0100</exif:FlashpixVersion>
<exif:FocalLength>46/1</exif:FocalLength>
<exif:FocalLengthIn35mmFilm>92</exif:FocalLengthIn35mmFilm>
<exif:FocalPlaneResolutionUnit>3</exif:FocalPlaneResolutionUnit>
<exif:FocalPlaneXResolution>87196351/32768</exif:FocalPlaneXResolution>
<exif:FocalPlaneYResolution>87196351/32768</exif:FocalPlaneYResolution>
<exif:GPSAltitude>4329402/10000</exif:GPSAltitude>
<exif:GPSLatitude>36,50.5811666667N</exif:GPSLatitude>
<exif:GPSLongitude>5,23.585W</exif:GPSLongitude>
<exif:GPSVersionID>2.3.0.0</exif:GPSVersionID>
<exif:GainControl>1</exif:GainControl>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>200</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<exif:LightSource>0</exif:LightSource>
<exif:MaxApertureValue>5357/1482</exif:MaxApertureValue>
<exif:MeteringMode>5</exif:MeteringMode>
<exif:PixelXDimension>4608</exif:PixelXDimension>
<exif:PixelYDimension>3456</exif:PixelYDimension>
<exif:Saturation>0</exif:Saturation>
<exif:SceneCaptureType>0</exif:SceneCaptureType>
<exif:SensitivityType>1</exif:SensitivityType>
<exif:Sharpness>0</exif:Sharpness>
<exif:ShutterSpeedValue>7965784/1000000</exif:ShutterSpeedValue>
<exif:WhiteBalance>0</exif:WhiteBalance>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:exifEX='http://cipa.jp/exif/1.0/'>
<exifEX:LensModel>LUMIX G VARIO 14-140/F3.5-5.6 </exifEX:LensModel>
<exifEX:LensSpecification>
<rdf:Seq>
<rdf:li>14/1</rdf:li>
<rdf:li>140/1</rdf:li>
<rdf:li>7/2</rdf:li>
<rdf:li>28/5</rdf:li>
</rdf:Seq>
</exifEX:LensSpecification>
<exifEX:SensitivityType>1</exifEX:SensitivityType>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:lr='http://ns.adobe.com/lightroom/1.0/'>
<lr:hierarchicalSubject>
<rdf:Bag>
<rdf:li>paysage</rdf:li>
<rdf:li>montagne</rdf:li>
<rdf:li>lac</rdf:li>
<rdf:li>Espagne|Andalousie|Zahara</rdf:li>
</rdf:Bag>
</lr:hierarchicalSubject>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>
<photoshop:DateCreated>2018-11-11T14:43:51</photoshop:DateCreated>
<photoshop:EmbeddedXMPDigest>00000000000000000000000000000000</photoshop:EmbeddedXMPDigest>
<photoshop:SidecarForExtension>ORF</photoshop:SidecarForExtension>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>
<tiff:BitsPerSample>
<rdf:Seq>
<rdf:li>16</rdf:li>
</rdf:Seq>
</tiff:BitsPerSample>
<tiff:Compression>1</tiff:Compression>
<tiff:Copyright>
<rdf:Alt>
<rdf:li xml:lang='x-default'/>
</rdf:Alt>
</tiff:Copyright>
<tiff:ImageLength>3472</tiff:ImageLength>
<tiff:ImageWidth>4640</tiff:ImageWidth>
<tiff:Make>OLYMPUS CORPORATION</tiff:Make>
<tiff:Model>E-M10MarkII</tiff:Model>
<tiff:Orientation>1</tiff:Orientation>
<tiff:PhotometricInterpretation>1</tiff:PhotometricInterpretation>
<tiff:PlanarConfiguration>1</tiff:PlanarConfiguration>
<tiff:ResolutionUnit>2</tiff:ResolutionUnit>
<tiff:SamplesPerPixel>1</tiff:SamplesPerPixel>
<tiff:Software>Version 1.2</tiff:Software>
<tiff:XResolution>350/1</tiff:XResolution>
<tiff:YResolution>350/1</tiff:YResolution>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
<xmp:CreateDate>2018-11-11T14:43:51</xmp:CreateDate>
<xmp:CreatorTool>Version 1.2</xmp:CreatorTool>
<xmp:MetadataDate>2023-12-15T21:31:53+01:00</xmp:MetadataDate>
<xmp:ModifyDate>2023-12-15T21:31:53+01:00</xmp:ModifyDate>
<xmp:Rating>1</xmp:Rating>
</rdf:Description>

<rdf:Description rdf:about=''
xmlns:stEvt='http://ns.adobe.com/xap/1.0/sType/ResourceEvent#'
xmlns:xmpMM='http://ns.adobe.com/xap/1.0/mm/'>
<xmpMM:DocumentID>8D980E253CF430CABEA6A893A17AB92F</xmpMM:DocumentID>
<xmpMM:History>
<rdf:Seq>
<rdf:li rdf:parseType='Resource'>
<stEvt:action>saved</stEvt:action>
<stEvt:changed>/metadata</stEvt:changed>
<stEvt:instanceID>xmp.iid:96e9511a-9a26-4a14-8a78-a11d6f698fca</stEvt:instanceID>
<stEvt:softwareAgent>Adobe Photoshop Lightroom 6.14 (Macintosh)</stEvt:softwareAgent>
<stEvt:when>2018-11-18T10:49:57+01:00</stEvt:when>
</rdf:li>
</rdf:Seq>
</xmpMM:History>
<xmpMM:InstanceID>xmp.iid:73e1b614-8b89-4ca0-8d0f-cab568c546de</xmpMM:InstanceID>
<xmpMM:OriginalDocumentID>8D980E253CF430CABEA6A893A17AB92F</xmpMM:OriginalDocumentID>
<xmpMM:PreservedFileName>2018-11-11-14-43-51.ORF</xmpMM:PreservedFileName>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Mon Feb 19, 2024 8:14 pm
by pi7603
I’ve just explored a bit more : in the second case (file which GPS data are correctly read), it appears that these data are written in the raw file.
(right click / property on the file).
Maybe it could be an explanation.

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Tue Feb 20, 2024 7:17 am
by xnview
please send me the files?

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Tue Feb 20, 2024 9:09 am
by pi7603
Hi !
Which files do you need (raw, xmp) ?
And how do I send them ? I can’t see a mean to attach a file in the forum or in private message through the site.

Regards.

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Tue Feb 20, 2024 10:25 am
by xnview
pi7603 wrote: Tue Feb 20, 2024 9:09 am Which files do you need (raw, xmp) ?
raw+xmp
And how do I send them ? I can’t see a mean to attach a file in the forum or in private message through the site.
you can send them by mail (contact at xnview dot com)

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Sat Feb 24, 2024 3:49 pm
by dwynn
I have a similar problem with Canon CR3 RAW files. GPS coordinates are given in associated XMP sidecar files in the form, for example,

<exif:GPSLatitude>30,27.945288N</exif:GPSLatitude>

Even though I have Settings > Sidecar > RAW set to "Yes", XnView MP shows no GPS data under the EXIF tab of the Properties window, nor does it show a GPS tab. It DOES show GPS coordinates under the XMP and ExifTool tabs.

Other software (Lightroom, FastRawView) display GPS coordinates IF sidecar XMP files are used. If sidecar files are not used, they show no GPS data, indicating that the CR3 files itself contain no GPS data.

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Sun Feb 25, 2024 3:03 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Can’t see the Geotag icon although files have GPS xmp tags

Posted: Thu Mar 28, 2024 12:51 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.7.0. Please check and confirm the bug fix here.