GPS location from sidecar files not being picked up?

I have created sidecar xmp files with GPS location now. I have also re-run the sidecard metadata job. But I dont see the corresponding images on the map. This is a sample sidecar file I added
<x:xmpmeta xmlns:x="http://ns.adobe.com/xap/1.0/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/">
<exif:GPSLatitude>13,45.378N</exif:GPSLatitude>
<exif:GPSLongitude>100,30.108E</exif:GPSLongitude>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<x:xmpmeta xmlns:x="http://ns.adobe.com/xap/1.0/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/">
<exif:GPSLatitude>13,45.378N</exif:GPSLatitude>
<exif:GPSLongitude>100,30.108E</exif:GPSLongitude>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
For p8040801.jpg, the file is named p8040801.xmp Anything wrong with the XMP?
14 Replies
Immich
Immich2mo ago
:wave: Hey @EbenezerIbiza, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
EbenezerIbiza
EbenezerIbizaOP2mo ago
Is the sidecar metadta job not sufficient? I mean, will this job only discover the XMPs but not parse them? So that I have to run the Extract Metadata job afterwards to actually read those XMPs?
bo0tzz
bo0tzz2mo ago
Indeed
EbenezerIbiza
EbenezerIbizaOP2mo ago
So when I have added or edited sidecar XMPs, I will need to first run: Sidecar Metadata --> Sync (or is Discover sufficient?) Then run Extract Metadata --> All (or is Missing sufficient?)
bo0tzz
bo0tzz2mo ago
I'll check the code later but yeah that sounds right
EbenezerIbiza
EbenezerIbizaOP2mo ago
OK. It actually seems that one of the sidecar jobs spins off an extract metadata job automatically? Anyway, is Sidecar Sync or Discover the best job for this? Would be nice with a little help text explaining what each of them does. I am fairly tech savvy, and I am not sure what the difference is.
EbenezerIbiza
EbenezerIbizaOP2mo ago
I just tried this: Sidecar Metadata --> Sync (or is Discover sufficient?) Then run Extract Metadata --> All (or is Missing sufficient?) And still not visible on the map Is the XMP OK? Or does immich require some specific namespaces, etc? Right. I propose that the following improvement be made to the UI: A small explanatory text like this is added, either in the job description or as a mouse-over tooltip-hint:
The sync job will re-scan all media with existing sidecar files and queue them for a metadata refresh. The discover job will attempt to scan the filesystem for new sidecar files for all media that does not currently have a sidecar file associated with it.
Anyway, it seems it does not work as I have done this and the pictures do not show up on the map. Do I have to do anything special when this is on an external library?
Mraedis
Mraedis2mo ago
Did you try a scan of the external library?
EbenezerIbiza
EbenezerIbizaOP2mo ago
Yes. I will try again. Is this order correct? Scan ext lib Sidecar: Discover Sidecar: Sync And this is all there is needed, right? Extract Metadata should not be needed as this should be triggered by the sidecar jobs?
Mraedis
Mraedis2mo ago
extract is for info in the files themselves, yes
EbenezerIbiza
EbenezerIbizaOP2mo ago
Does the Transcode job do anything regarding metadata for videos? It seems to not update metadata for videos. Not sure if it means I need to transcode again? Anyway, I seem to not be able to make it read my GPS XMPs Did I make any errors in the format of the XMPs above?
Mraedis
Mraedis2mo ago
I couldn't tell you, I don't use them, that's why I suggested making an edit through the GUI and comparing And no, transcodes shouldn't do anything regarding metadata
EbenezerIbiza
EbenezerIbizaOP2mo ago
Thanks for this suggestion! I think this uncovered some hints on what's going on. I will get back and update the thread when I know more...

Did you find this page helpful?