Last active
August 29, 2015 14:03
-
-
Save pnorman/0c12c66b07d9cfed675c to your computer and use it in GitHub Desktop.
Toolchain for geotagging photos
This file contains hidden or 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
# Copy images into suitable named directory indicating date and trip | |
export GEM_HOME=/home/pnorman/osm/gpx2exif | |
# Sharpen and fix colours | |
mogrify -unsharp 8x1.7 -normalize *-*/IMG_*.JPG | |
# Adjust times. Reverse sign from JOSM. My camera drifts so that I need a positive time in JOSM, so this tends to be -= for me. | |
exiftool "-DateTimeOriginal-=0:0:2" "-CreateDate-=0:0:2" *-*/*.JPG | |
# Geotag | |
~/osm/gpx2exif/bin/geotag -x "Copyright=Copyright CC0 Paul Norman" \ | |
-g "2014-06-27 20.00.34 Auto.gpx" 01*/*.JPG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment