Retrieve geo-information of image-files and show them in Map
Hi,
I love your plugin and I assume that there is big potential for it within the use of obsidian!!! :) I recently came home from holiday and I am looking at my geotagged photos, which I took with my smartphone.
I would love to integrate that geoinformation of these photos in Obsidian and I hope that it would be possible through Map View. It could work somehow like this:
- import the image-files into Obsidian vault
- create a new note, for example "journey XYZ" and link to the relevant image files from that note
- Map View recognises that within the note "journey XYZ" there's a link to an image file and automatically retrieves the geotag-information of the image-files
... Do you think you could integrate that feature one day in Map View? :)
kind regards, Silias
That's indeed a very nice feature, and I am sure that many users will find it useful. Now, the bad news is that I don't think it will be done anytime soon as part of Map View, at least not by me, as there is so much to do and so little time :-( However, there's also good news: given the open nature of Markdown, I see no reason to wait -- with some minimal coding you can achieve this immediately! It only requires a small script that would extract geolocations from image files and then add them as links to your notes. In the days since you opened this issue I've been planning to check for the sport what happens if I ask ChatGPT to write such a script, I suspect it will get me very close to a working result, but wasn't able to try it out yet. If you happen to try, would love to see if it works (and other users will benefit from it too)!
Hi, Thank you very much for your extensive answer!!! :) Unfortunately I I have just little experience in coding, just a bit of C, C++ and VBA, but I'm really interested in expanding my knowledge especially in relation to obsidian. Therefore I also already did some Java script tutorials, trying to understand dataviewjs better.
You sound quite confident, that it shouldn't be a big challenge, so I'm very willing to try, but I have no idea where to start... :/
I would be very grateful if you could explain the frame of your coding-idea a bit to me to give me a direction where and how to start. Questions I have are:
- which coding language
- how executing within Obsidian (with templater?)
Thank you and kind regards, Silias :)
Am 15. Juli 2023 05:39:05 MESZ schrieb esm7 @.***>:
That's indeed a very nice feature, and I am sure that many users will find it useful. Now, the bad news is that I don't think it will be done anytime soon as part of Map View, at least not by me, as there is so much to do and so little time :-( However, there's also good news: given the open nature of Markdown, I see no reason to wait -- with some minimal coding you can achieve this immediately! It only requires a small script that would extract geolocations from image files and then add them as links to your notes. In the days since you opened this issue I've been planning to check for the sport what happens if I ask ChatGPT to write such a script, I suspect it will get me very close to a working result, but wasn't able to try it out yet. If you happen to try, would love to see if it works (and other users will benefit from it too)!
-- Reply to this email directly or view it on GitHub: https://github.com/esm7/obsidian-map-view/issues/174#issuecomment-1636643362 You are receiving this because you authored the thread.
Message ID: @.***>