Skip to content

Instantly share code, notes, and snippets.

@trolleway
Last active November 27, 2023 08:22
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save trolleway/7975ce617fa7e6ae32311c056be49c57 to your computer and use it in GitHub Desktop.
Save trolleway/7975ce617fa7e6ae32311c056be49c57 to your computer and use it in GitHub Desktop.

I need to geotag every photo from trip to .gpx track, but GPX Logger accidentaly stopped. Luckly, i has turned on Google location history.

  1. Takeout location history from google.
  2. Extract .json file
git clone https://github.com/Scarygami/location-history-json-converter.git
location-history-json-converter-master\location_history_json_converter.py -f gpx -s 2017-05-06 -e 2017-05-07 "Takeout/Location History\Location History.json"
"c:\Program Files (x86)\GPSBabel\gpsbabel.exe"  -i gpx -f "Takeout/Location History\Location History.gpx" -x transform,trk=wpt -o gpx -F track.gpx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment