Last active
January 13, 2017 15:52
-
-
Save dmpop/4dbd96fbea2da46f191f4efe31d98d8f to your computer and use it in GitHub Desktop.
Show geotagged photo on OpenStreetMap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
lat=`exiftool -n -p '$GPSlatitude' $1` | |
lon=`exiftool -n -p '$GPSlongitude' $1` | |
osm="http://www.openstreetmap.org/?mlat=$lat&mlon=$lon&zoom=18" | |
xdg-open $osm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment