I
Immich•3y ago
minch

[SOLVED] map and coordinates is good, localization name is wrong

I am running immich on a raspberry pi 4 8Gb. The OSM map shows the right coordinates but the name of the location is wrong In the picture attached, you can see that the photos was taken in Bangkok, however it is located in Afghanistan...
No description
35 Replies
Alex Tran
Alex Tran•3y ago
hmm intersting
minch
minchOP•3y ago
I have tried to upload a new photo, and same, right coordinates and map, but localisation name is wrong I think it used to be correct. Then I have just updated to the last server version today, maybe it has broken something.
Alex Tran
Alex Tran•3y ago
The naming of the coordinate is actually download every night from the geolocation database I believe, and that is out of our control so something upstream might have been messed up @jrasm91 @bo0tzz FYI
bo0tzz
bo0tzz•3y ago
@minch try deleting and recreating the microservices container, then testing again?
minch
minchOP•3y ago
Will do i have deleted the container et and updated the stack to recreate it. But no luck
bo0tzz
bo0tzz•3y ago
Do you have an image you can share to reproduce this? If so, put it in a zip before uploading please I'm heading to bed now but maybe someone else can take a look at it, else I will tomorrow
jrasm91
jrasm91•3y ago
You can turn on verbose logging in microservices, then delete and re-upload the file. The logs should have some details about the gps related stuff that's happening
minch
minchOP•3y ago
here, have a good night
minch
minchOP•3y ago
how can I turn verbose on ?
jrasm91
jrasm91•3y ago
there's an environment variable for it:
LOG_LEVEL=verbose
LOG_LEVEL=verbose
What's the zip? Can you send the original file/image/photo?
minch
minchOP•3y ago
😆 I thought he meant container image 😄
minch
minchOP•3y ago
jrasm91
jrasm91•3y ago
Lol too many "images"
minch
minchOP•3y ago
about the log, I can see that the microservices is reverse geocoding correctly the picture was taken in Rabat Morocco however
minch
minchOP•3y ago
on the web interface, I read
No description
Alex Tran
Alex Tran•3y ago
This is very strange 🤔
minch
minchOP•3y ago
wait no
Alex Tran
Alex Tran•3y ago
Is the image something you can share with us?
minch
minchOP•3y ago
sorry my bad is it the right location
minch
minchOP•3y ago
No description
minch
minchOP•3y ago
but for the previously imported images, the location is still wrong
Alex Tran
Alex Tran•3y ago
Can you zip up the file since upload the file straight up will strip its metadata
Alex Tran
Alex Tran•3y ago
Thanks, we will take a look at this
jrasm91
jrasm91•3y ago
In short though, I think the library doesn't take boundaries into account, it just uses distance between point and nearest city. That's my guess.
minch
minchOP•3y ago
well for the previous picture that I have updated, for which the location was wrong after updating), it was located in andorra, pretty far from Morocco I think something have messed with the locations of the pictures in my library is there a way to reinitialise it ?
jrasm91
jrasm91•3y ago
Meaning they have the wrong data, but on a new upload it looks to be fixed?
minch
minchOP•3y ago
exactly
Alex Tran
Alex Tran•3y ago
You can run the metadata extraction in the job panel on all asset to get it requery the location again
jrasm91
jrasm91•3y ago
I uploaded your photo and got this:
No description
minch
minchOP•3y ago
that's right I have deleted a photo I have taken tonight, when uploaded the first time, it got a wrong location i have just reuploaded it and now it has the right location
jrasm91
jrasm91•3y ago
Like Alex said, you can rerun the extract metadata job on all your assets and it should reprocess all of their locations.
minch
minchOP•3y ago
alright thanks, it is ongoing thank you so much for your support and for your kindness i will update the status once the metadata extraction job is done
jrasm91
jrasm91•3y ago
Good luck!
minch
minchOP•3y ago
all good now thanks !!!

Did you find this page helpful?