Skip to content

Metadata: Support reading GPS information from xmp #4106

@derchr

Description

@derchr

1. What is not working as documented?

Reading in GPS data from XMP sidecar files generally works. However, when updating (e.g., adding them for the first time) GPS information with an external program such as digikam, it will not get updated in Photoprism even after a complete re-index.

Often GPS files are added afterwards based on a GPX file because the camera itself does not have an embedded GPS tracker.

2. How can we reproduce it?

  1. Index an image without any GPS data. Photoprism will show Lat 0 and Long 0 in the details.
  2. Now add GPS information with an external program such as digikam or darktable.
  3. Do a complete re-index in Photoprism.
  4. Photoprism will still show Lat 0 and Long 0 in the details and not display the images in the map.

3. What behavior do you expect?

Photoprism should pick up the new GPS information and save it in its internal yml sidecar files and show the geoinformation in the UI.

4. What could be the cause of your problem?

The GPS location gets read in when first importing, but it cannot be not updated afterwards by a re-index operation.

6. Which software versions do you use?

Latest docker image with latest docker-compose example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement or improvement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions