Simple ad-hoc sql query to export location data from immich #487
kamaeff
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
After importing my data from Google timeline I found out that quality of imported data was poor.
But I also know that location data in my immich photos should be precise.
To enrich my gps data I needed to take the data from immich and to import it to geopulse.
There are two possible ways: use immich api or get data from immich database directly.
I prefer the latter because it's easier for me to write some sql than to learn immich api and issue api tokens.
Here is how to do it:
docker compose exec immich-database psql -s immich postgresto open Immich PostgreSQL shellusername@example.orgwith your immich user's email.timestamp,latitude,longitude,accuracy,velocity,altitude,battery,device_id,source_type)Beta Was this translation helpful? Give feedback.
All reactions