An open API service indexing awesome lists of open source software.

https://github.com/puhoy/add_gpsinfo

add gps data from gpx or googles location history json file to image exif data
https://github.com/puhoy/add_gpsinfo

Last synced: 2 months ago
JSON representation

add gps data from gpx or googles location history json file to image exif data

Awesome Lists containing this project

README

        

# requirements

py3exiv2 requirements:

http://python3-exiv2.readthedocs.io/en/latest/developers.html

in my case thats

sudo apt-get install libboost-python1.58.0 libboost-python-dev libexiv2-dev libexiv2-14

afterwards install the stuff in requirements.txt (maybe in a virtualenv)

pip install -r requirements.txt

# usage

$ python add_gpsinfo.py --help
Usage: add_gpsinfo.py [OPTIONS]

Options:
--image PATH image or folder with images
--coords PATH gpx or (google-history-)json file
--max-diff INTEGER maximum difference from gpx timestamp to
image time (in seconds)
--allow-overwrite allow overwrite
--help Show this message and exit.

for example

python add_gpsinfo.py --image path/to/image_folder --gpx path/to/gpx_file.gpx --max-diff 300