1.11.6: GPS data not shown on map if only in xmp sidecar

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: xnview, Dreamer

tstimg
Posts: 2
Joined: Mon Sep 14, 2026 2:59 pm

1.11.6: GPS data not shown on map if only in xmp sidecar

Post by tstimg »

XnView: MP 1.11.6 - 64-bit
OS: Windows 10 - 64-bit / Linux Debian 13 - 64-bit

GPS coordinates only present in a xmp sidecar file are never displayed on the map.

Effect: No location marker on map.

To reproduce:
1. Use (read-only) image without embedded GPS coordinates
2. Add GPS coordinates using another program (eg. exiftool), writing only to xmp sidecar
3. Ensure that the new coordinates only appear in the xmp sidecar file (exif:GPSLongitude, etc...) and not embedded in the image file itself
4. Select image in XnView MP

Actual behaviour (bug): Map shows no location marker

Expected behaviour: Location marker should appear on the map even if the coordinates are only present in a xmp sidecar file.

The presence of GPS coordinates in the xmp sidecar file is acknowledged by the appropriate overlay icon in the 'Thumbnail View', they are listed in the 'Details View', the right-click 'Metadata > Open GPS location in' works as expected and the 'info' panel show a map tab (but either centred on "London" or with maker still showing the last known location). This behaviour does not change whether 'Metadata > Import > Exiftool' in settings is selected or not. Right-click 'Metadata > Edit GPS...' however shows only zeroes.

Sidenote: My understanding was that you should try to avoid writing anything directly into raw files, but right-click 'Metadata > Edit GPS...' does write the new coordinates directly into the raw file instead of into a xmp sidecar (tested with RAF and DNG files), regardless of the 'Metadata > Sidecar' settings.
User avatar
xnview
Author of XnView
Posts: 48895
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.11.6: GPS data not shown on map if only in xmp sidecar

Post by xnview »

Please send us a sample file?
tstimg
Posts: 2
Joined: Mon Sep 14, 2026 2:59 pm

Re: 1.11.6: GPS data not shown on map if only in xmp sidecar

Post by tstimg »

Please find in the attached zip-file two sample images demonstrating the problem:

- La_Rochelle_Vieux-Port.JPG (original image copyright Remi Jouan, CC BY-SA 3.0, via Wikimedia Commons): embedded coordinates -> map working as expected
- Le_Logis_de_la_Chabotterie.jpg (original image copyright Benoît Bâlon, CC BY-SA 3.0, via Wikimedia Commons): coordinates only in xmp sidecar file -> map not showing marker and location (but coordinates are recognised by XnView MP)

Thank you for looking into this!
You do not have the required permissions to view the files attached to this post.