I
Immich2y ago
Mihir

Typesense geometry error

I recently deleted my typsense data volume to fix some errors I was getting. One of these errors was the following:
/typesense/external-Linux/s2geometry-efb124d8eaf3433323d3e877dedd5e94a63339a3/src/s2/s2latlng.cc:37 ERROR Invalid S2LatLng in S2LatLng::ToPoint: [-79.9462000, 286.7789920]
/typesense/external-Linux/s2geometry-efb124d8eaf3433323d3e877dedd5e94a63339a3/src/s2/s2latlng.cc:37 ERROR Invalid S2LatLng in S2LatLng::ToPoint: [-79.9462000, 286.7789920]
I am getting this same error again. There may be some corruption with how GPS data was extracted for an image, since (-79.9, 286.7) is not a valid coordinate. I am guessing the real coordinate should be around (40ish, -79.9). How should I resolve this? I'm also seeing a bunch of other errors, but I am unable to check "Repair" due to the server crashing (I see this is a known issue).
3 Replies
Daniel
Daniel2y ago
Do you know the image with the broken longitude? To fix the wrong metadata you could use for instance the tool "exiftool"
Mihir
MihirOP2y ago
I don't know and I don't really know how to find out either
Alex Tran
Alex Tran2y ago
I got a few of these, I believe it is from bad exif that get recorded and eventually get indexes by typesense we are not using geo coding in search at the moment so you can ignore it

Did you find this page helpful?