LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
6.95k stars 304 forks source link

Refactor geocoding to use geopy instead #150

Closed derneuere closed 1 year ago

derneuere commented 3 years ago

Geopy is a libary which has multiple reverse geocoding apis implemented. This could make our code simpler and more robust.

derneuere commented 3 years ago

Related to #143 and #9

derneuere commented 3 years ago

I think this is the way to go. I will close the other tickets.

derneuere commented 3 years ago

location.raw should have all the data we need: https://towardsdatascience.com/things-to-do-with-latitude-longitude-data-using-geopy-python-1d356ed1ae30

derneuere commented 1 year ago

This here looks also promising: https://photon.komoot.io/

derneuere commented 1 year ago

This is now implemented, thanks to @sickelap :)