Setting Country/City/State not through UI? #15270
Unanswered
gytisgreitai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
so want to upload bunch of pictures from Italian Dolomites. Since most of them are in the mountains .. the default geocoding fails:
which is ok, since not a lot of populated areas nearby.
So I decided to use Google Places reverse geocoding - took the coordinates, and wrote an simple app that writes into IPTC tags without first checking if Immich actually supports those :)
Now as I understand the Country/City/State is only read from reverse geocoding (this part of code) and then stored into exif table in the database.
I could not find any API to update the exif (missed something?) - so I'm thinking of extracting manually that IPTC data that I've just written and generating SQL statements to update it (.e.g
update exif set "city"='...', state='...', country='..' where "assetId"='...';
)Is there an easier way? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions