vitor Posted February 26, 2019 Share Posted February 26, 2019 (edited) Usage Use the Universal Action on an image, video, or audio, to open its recorded GPS location in Apple Maps or Google Maps. ⤓ Install From the Alfred Gallery | Source Edited December 19, 2022 by vitor bivalvegruff and Raffie77 2 Link to comment
Raffie77 Posted February 26, 2019 Share Posted February 26, 2019 (edited) Wow that's just awesome! way faster then a snippet 😀 and how do I change this to google maps instead of apple maps? Great work man it made my day [edit] O whoops never mind, I found the variable it works now 😉 Edited February 26, 2019 by Raffie77 vitor 1 Link to comment
Raffie77 Posted February 26, 2019 Share Posted February 26, 2019 (edited) Oh and btw, I prefer that google opens the photo in satelite mode to fix this I edit this line in the bash script part of your workflow: Quote https://www.google.com/maps?q=' and made it: Quote https://www.google.com/maps?t=k&q=' now it opens the photo in satelite mode. It took me a while to figure that one out Edited February 26, 2019 by Raffie77 vitor 1 Link to comment
Mike Outram Posted November 6, 2020 Share Posted November 6, 2020 Hi Vitor, Could your script also do this action on video files? I can't see the 'image coordinates map' for videos. Works brilliantly for images Link to comment
vitor Posted November 13, 2020 Author Share Posted November 13, 2020 On 11/6/2020 at 11:08 AM, Mike Outram said: Could your script also do this action on video files? Depends if the tool I’m using supports it. Try the latest version, does that work? Link to comment
Mike Outram Posted November 13, 2020 Share Posted November 13, 2020 8 hours ago, vitor said: Depends if the tool I’m using supports it. Try the latest version, does that work? Hi Vitor, The 'image coordinates in map' option has disappeared from the file action list. I downloaded an old version and that worked for images ok, so I don't think I've screwed anything up with the Alfred settings. Link to comment
vitor Posted November 13, 2020 Author Share Posted November 13, 2020 1 hour ago, Mike Outram said: The 'image coordinates in map' option has disappeared from the file action list. Fixed in the latest version, just released. But support for videos was already there (and still is), and that’s what I need you to check. I don’t have videos tagged with location to test. Link to comment
Mike Outram Posted November 13, 2020 Share Posted November 13, 2020 Yes, it works with video Are there some formats of exif data that it doesn't parse? E.g., for this gps data the 'Image coordinates in map' option in File Actions doesn't show up. GPS Latitude Ref : North GPS Latitude : 51 deg 26' 11.86" GPS Longitude Ref : West GPS Longitude : 0 deg 17' 7.98" GPS Altitude Ref : Above Sea Level GPS Altitude : 28.48471178 m GPS Speed Ref : km/h GPS Speed : 0.473733604 GPS Img Direction Ref : True North GPS Img Direction : 52.46899414 GPS Dest Bearing Ref : True North GPS Dest Bearing : 52.46899414 GPS Date Stamp : 2020:10:17 GPS Horizontal Positioning Error: 12.00181242 m GPS Altitude : 28.4 m Above Sea Level GPS Latitude : 51 deg 26' 11.86" N GPS Longitude : 0 deg 17' 7.98" W GPS Position : 51 deg 26' 11.86" N, 0 deg 17' 7.98" W If it's like this below, then it's fine: GPS Coordinates : 51 deg 33' 14.40" N, 0 deg 18' 32.40" W, 25.02 m Above Sea Level GPS Altitude : 25.02 m GPS Altitude Ref : Above Sea Level GPS Latitude : 51 deg 33' 14.40" N GPS Longitude : 0 deg 18' 32.40" W GPS Position : 51 deg 33' 14.40" N, 0 deg 18' 32.40" W Link to comment
vitor Posted November 13, 2020 Author Share Posted November 13, 2020 2 hours ago, Mike Outram said: Yes, it works with video Great to know. I’ll make further improvements to the Workflow including changing the name. Everything will be handled by the update procedure. 2 hours ago, Mike Outram said: Are there some formats of exif data that it doesn't parse? I have absolutely no idea. I’ve built the Workflow but I don’t use it, so I have no desire to explore that further. However, I am willing to make improvements to it if someone else does the research. The Workflow uses exiftool under the hood, so it’s limited by whatever it can do. Link to comment
Mike Outram Posted November 13, 2020 Share Posted November 13, 2020 Nice one! The data above I got from exiftool in terminal. Guessing that your app is reading the 'GPS coordinates', and not GPS Longitude/Latitude? Would love to help figure that out, but not sure where to start! Link to comment
vitor Posted November 13, 2020 Author Share Posted November 13, 2020 2 minutes ago, Mike Outram said: Would love to help figure that out, but not sure where to start! The Workflow is pretty simple, all that matters is the Run Script in the middle. There’s a single call to exiftool:coordinates="$(exiftool -printFormat '$gpslatitude, $gpslongitude' --printConv "${file}")" Link to comment
vitor Posted December 19, 2022 Author Share Posted December 19, 2022 Updated to 2022.4. Workflow is now distributed via the Alfred Gallery. Download the new version from there or update directly from Alfred.New repository.New icon.New About.Add workflow configuration dropdown for maps provider.Remove OneUpdater in favour of Gallery updating. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now