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
- Host: GitHub
- URL: https://github.com/puhoy/add_gpsinfo
- Owner: puhoy
- Created: 2018-01-21T17:30:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T22:37:57.000Z (over 7 years ago)
- Last Synced: 2025-01-18T04:43:28.590Z (4 months ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-14afterwards 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