In the location history,
timelinePath segments are given priority due to their precision, followed by
activity segments, and lastly
visit segments.
After
immich#17061 is merged, it will be possible to use visually similar images to estimate the location of the image.