GPS altitude information is incorrectly parsed

For some (and only some) videos, Immich extracts the wrong GPS info from metadata.

Example
ffprobe
output from one of my videos:

  Metadata:
    ...
    location        : +56.1509-005.4809+101.580994/


And from
exiftool
:
GPS Altitude                    : 101.58 m
GPS Altitude Ref                : Above Sea Level
GPS Latitude                    : 56 deg 9' 3.20" N
GPS Longitude                   : 5 deg 28' 51.24" W
Rotation                        : 0
GPS Position                    : 56 deg 9' 3.20" N, 5 deg 28' 51.24" W


Typing the latlong coordinates
+56.1509 -005.4809
into Google Maps takes me straight to the location where the video was taken (Carnasserie Castle, FWIW). However, Immich displays the location somewhere near Singapore, like this:

-5.4809, 101.580994


It appears that altitude information was incorrectly parsed from the location metadata, which is actually in format
[+-]LAT[+-]LON[+-]ALT
.

Is there already an open issue for this?
image.png
Was this page helpful?