Image EXIF Distance Tools
Some scripts for finding the distance between the location of an image and the Bank of America Building in Atlanta (or maybe you have a better use-case).
Usage
$ ./image-distance.sh <filename.jpg>
Example:
./image-distance.sh images/IMG_20170913_083501.jpg
Filename: images/IMG_20170913_083501.jpg
Latitude: 33.7660111111
Longitude: -84.3974111111
Distance to BofA Building: 0.948619993884 km
Under the hood, this makes calls to exif-gps.sh
, which grabs some specific Exif metadata info from an image, using exiftool
, formats the results, and uses them to call distance.py
, which parses out the lat/lon strings and calculates the distance to the BofA building.
Requirements
Why?
... because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one we intend to win