Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DavidMetcalfe/Google-Maps-Location-History-Parser
Parse the extracted data from Google Maps' Location History into a list of unique lat/long coordinates.
https://github.com/DavidMetcalfe/Google-Maps-Location-History-Parser
google-location-history google-takeout google-timeline json python3
Last synced: about 2 months ago
JSON representation
Parse the extracted data from Google Maps' Location History into a list of unique lat/long coordinates.
- Host: GitHub
- URL: https://github.com/DavidMetcalfe/Google-Maps-Location-History-Parser
- Owner: DavidMetcalfe
- License: gpl-3.0
- Created: 2018-08-26T01:56:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T04:57:58.000Z (almost 2 years ago)
- Last Synced: 2024-08-12T03:06:12.842Z (6 months ago)
- Topics: google-location-history, google-takeout, google-timeline, json, python3
- Language: Python
- Size: 16.6 KB
- Stars: 37
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Maps Location History Parser
The included script will parse the extracted JSON data from Google Maps' Location History, and output a list of unique lat/long coordinates in a `.txt` file for your own use.
Older tutorials concerning Google Latitude, and Google Maps' Timeline would require raw extraction, or looping through exporting KML files, etc. Nowadays, [Google Takeout](https://takeout.google.com/settings/takeout) supports exporting one's Location History easily.
## Steps to export data
1. Visit [Google Takeout](https://takeout.google.com/settings/takeout).
2. Click **Select None** at the top of the list to deselect all other options.
3. Navigate down to **Location History** and select it. Leave the default export at JSON.
4. Click **Next**, and choose your File Type, Archive Size, and Delivery Method.
5. Once the file is downloaded and unarchived, proceed to the next steps.## Parse your export data
1. Download `Parse Google Location History.py` and place the script in the same directory as your `Location History.json` export.
2. Run the script from your chosen command line (`python Parse Google Location History.py`).## Notes
There's an additional function included for converting the Lat/Long coordinates in E7 format to decimal. It's not made use of in the script, but it may be helpful to any interested.