Jump to content

MediaCoordinates — Open media GPS coordinates in a map


vitor

Recommended Posts

  • 1 year later...
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
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

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 changed the title to MediaCoordinates — Open media GPS coordinates in a map
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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...