Metadata: Remove estimate when setting a new country #782

Closed
opened 2026-02-19 23:16:23 -05:00 by deekerman · 14 comments
Owner

Originally created by @krair on GitHub (Feb 10, 2021).

Originally assigned to: @lastzero on GitHub.

Some of my photos are incorrectly tagged (date, location, timezone).

When I edit the photo, input the correct data, everything is saved correctly except for the country. Some photos it works, but a handful always default back to Germany as soon as I click "Approve".

Note:

This is from a docker-installed ubuntu 20.04.
Browser: Firefox 85
App version: 210208-9e10ba69-Linux-x86_64

Originally created by @krair on GitHub (Feb 10, 2021). Originally assigned to: @lastzero on GitHub. Some of my photos are incorrectly tagged (date, location, timezone). When I edit the photo, input the correct data, everything is saved correctly except for the country. Some photos it works, but a handful always default back to Germany as soon as I click "Approve". Note: This is from a docker-installed ubuntu 20.04. Browser: Firefox 85 App version: 210208-9e10ba69-Linux-x86_64
deekerman 2026-02-19 23:16:23 -05:00
Author
Owner

@lastzero commented on GitHub (Feb 10, 2021):

Do they have GPS coordinates? In that case, changing the country is not possible (at the moment) as it is set automatically based on latitude and longitude.

@lastzero commented on GitHub (Feb 10, 2021): Do they have GPS coordinates? In that case, changing the country is not possible (at the moment) as it is set automatically based on latitude and longitude.
Author
Owner

@lastzero commented on GitHub (Feb 10, 2021):

Or did you try to set the country to Unknown?

@lastzero commented on GitHub (Feb 10, 2021): Or did you try to set the country to Unknown?
Author
Owner

@krair commented on GitHub (Feb 10, 2021):

No GPS coordinates, listed as 0,0 in the metadata. Tried deleting even the 0's and applying the change, no luck.

Setting to Unknown also reverts back to Germany.

@krair commented on GitHub (Feb 10, 2021): No GPS coordinates, listed as 0,0 in the metadata. Tried deleting even the 0's and applying the change, no luck. Setting to Unknown also reverts back to Germany.
Author
Owner

@lastzero commented on GitHub (Feb 10, 2021):

Any other differences between the photos that work and those that don't? It is possible the country is "estimated" from the title or keywords (like "Berlin")?

@lastzero commented on GitHub (Feb 10, 2021): Any other differences between the photos that work and those that don't? It is possible the country is "estimated" from the title or keywords (like "Berlin")?
Author
Owner

@lastzero commented on GitHub (Feb 10, 2021):

Would be good to see screenshots or a recording (with private information removed) for debugging.

@lastzero commented on GitHub (Feb 10, 2021): Would be good to see screenshots or a recording (with private information removed) for debugging.
Author
Owner

@krair commented on GitHub (Feb 10, 2021):

Name of photo definitely not indicative of location, although the app is unable to pull out the date and time. For example:

IMG_20170529_123119_903.jpg

I'll see about a small recording or a few screenshots, some life admin getting in the way today, but I'll attempt

@krair commented on GitHub (Feb 10, 2021): Name of photo definitely not indicative of location, although the app is unable to pull out the date and time. For example: IMG_20170529_123119_903.jpg I'll see about a small recording or a few screenshots, some life admin getting in the way today, but I'll attempt
Author
Owner

@lastzero commented on GitHub (Feb 10, 2021):

Date / time extraction from this file name pattern can implemented 👍

@lastzero commented on GitHub (Feb 10, 2021): Date / time extraction from this file name pattern can implemented 👍
Author
Owner

@krair commented on GitHub (Feb 11, 2021):

Peek 2021-02-11 11-18

@krair commented on GitHub (Feb 11, 2021): ![Peek 2021-02-11 11-18](https://user-images.githubusercontent.com/75268581/107624439-25fb9300-6c5b-11eb-99c4-cd8672f5c836.gif)
Author
Owner

@lastzero commented on GitHub (Feb 11, 2021):

Probably happens when editing an image with estimated place as the cell id doesn't get removed when changing the country. Going to fix it with the next update.

@lastzero commented on GitHub (Feb 11, 2021): Probably happens when editing an image with estimated place as the cell id doesn't get removed when changing the country. Going to fix it with the next update.
Author
Owner

@lastzero commented on GitHub (Feb 14, 2021):

Does the fix work for you?

@lastzero commented on GitHub (Feb 14, 2021): Does the fix work for you?
Author
Owner

@lastzero commented on GitHub (Feb 15, 2021):

Going to release this tomorrow if we hear no complaints 👍

@lastzero commented on GitHub (Feb 15, 2021): Going to release this tomorrow if we hear no complaints :+1:
Author
Owner

@krair commented on GitHub (Feb 16, 2021):

I haven't tested it, I am using the docker image to host.

@krair commented on GitHub (Feb 16, 2021): I haven't tested it, I am using the docker image to host.
Author
Owner

@lastzero commented on GitHub (Feb 16, 2021):

You may use the demo or our preview image for testing, see https://docs.photoprism.org/release-notes/

@lastzero commented on GitHub (Feb 16, 2021): You may use the demo or our preview image for testing, see https://docs.photoprism.org/release-notes/
Author
Owner

@graciousgrey commented on GitHub (Feb 16, 2021):

I tried editing lat/lng & country of photos with an estimated location. The changes stay as expected.

@graciousgrey commented on GitHub (Feb 16, 2021): I tried editing lat/lng & country of photos with an estimated location. The changes stay as expected.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#782
No description provided.