Process your Google Maps TimeLine

From Communauté de la Fabrique des Mobilités

Get, Concatenate and Process you location history from Google Maps TimeLine

💼 porté par




If you have turned on the Google Maps location history, you probably now that Google save your location data and process it in order to create a timeline that you can find in the user interface :

Maps is using raw data (multiple points saved per minutes) and is projecting it on roads, places, etc.

You can easily export all of the raw data saved by Maps or you can export one day to KML but it's impossible to export all of the processed data from the user interface.

In this project, I export multiple days (months actually) to KML, then process it in order to convert it into a pandas DataFrame. I am still working on data vizualtion and statistics with this data.

Get cookie_content to export locatin history

In order to export processed data from Google Maps website from a python script, you need to get your actual cookie.

  1. Go to
  2. Inspect the page and go to the Network tab
  3. Enter this link!1m8!1m3!1i2017!2i3!3i16!2m3!1i2017!2i3!3i16 (or another date)
  4. Save this element as a cURL
  5. Open the cURL in a text editor

Organizations using or interested in using the resource:

Contributor(s): Bertrand Gorge

Tags: google map, time line, location, history

Categories: Données

Theme: Données ouvertes, Traces de mobilité et des données associées


Challenge: Augmenter les connaissances partagées en cartographie et usages des véhicules et réseaux de transports

Key people to solicit: Patrick Gendre

Other related common: Kit Minimal pour créer gérer partager des traces de Mobilité

Wealth sought:

Required skills:

Community of interest: Communauté autour des traces de mobilité et des données associées, Communauté autour des données ouvertes


Terms of Service (TOS):

Level of development:

Link to my actions board:

Link to my cloud, wiki, drive…:


Next step: Analyse des fichiers KML et mise en place d'un petit site web pour faire la preuve du concept :

Documentation of the experimentations:

Other informations

List of the actors using or willing of using this common: aucun pour le moment

List of the workshop reports related to this common: