/google-maps-trajectory

Plot your Google Maps timeline data

Primary LanguageJupyter NotebookMIT LicenseMIT

google-maps-trajectory

Your Google Maps Timeline data visualized as a trajectory.

image

Google Maps offers a Timeline tool to visualize your location history. But the visualization is limited: their Timeline does not show all datapoints, and each location dot is given the same color.

Instead we can download the location history data and plot it ourselves to show our trajectory in higher resolution, and with each location dot colored by timestamp. This allows a richer visualization for how we move through earth-space.

Use cases

  • Visualize your trajectory from a memorable vacation or road trip.
  • Document all the streets you've walked in your city.
  • Etc.

Notebook Instructions

  1. Download your Google Maps timeline data
    • Go to maps.google.com
    • Navigate to Your data in Maps
    • Download Location History
  2. In the notebook, replace file_name with the filepath to records.json file.
  3. In the notebook, replace state_date, end_date, center.
  4. Run the notebook and open your maps.html file in a browser.