Debian Codegraph @

xmldoc/formats/googletakeout.xml

raw
1 <para>
2 Google gives you two options to download your location history:
3 In Google Maps, you can go into your Timeline and download your location
4 history a day at a time as KML files. Or, in Google Takeout, you can
5 download all of your location history all at once as a ZIP of JSON files,
6 one for each month.
7 </para>
8
9 <para>
10 The "googletakeout" GPSBabel format will process the location history
11 JSON files. It can operate on individual JSON files, the folders in the
12 ZIP that contain a year's worth of data, or the entire location history
13 at once.
14 </para>
15
16 <para>
17 There is no official documentation from Google for this format, however,
18 a volunteer is maintaining a schema at
19 <link xmlns:xlink="http://www.w3.org/1999/xlink"
20 xlink:href="https://locationhistoryformat.com/">
21 locationhistoryformat.com
22 </link>.
23 </para>
24
25 <para>
26 To obtain your Google Takeout History:
27 <itemizedlist mark="bullet">
28 <listitem><para>
29 Go to
30 <link xmlns:xlink="http://www.w3.org/1999/xlink"
31 xlink:href="https://takeout.google.com/">
32 takeout.google.com
33 </link>
34 </para></listitem>
35 <listitem><para>Click on "Deselect all"</para></listitem>
36 <listitem><para>
37 Scroll down to "Location History" and check the box
38 </para></listitem>
39 <listitem><para>
40 Scroll to the bottom of the page and click on "Next step"
41 </para></listitem>
42 <listitem><para>Click on "Create export"</para></listitem>
43 </itemizedlist>
44 In a little while, you will receive an email to download your location
45 history, which will be one or more zipfiles. Unzip everything into the same
46 folder. Your history will be in the folder
47 "Takeout/Location History/Semantic Location History" within this folder.
48 </para>
49
50 <example xml:id="googletakeout-all">
51 <title>Convert entire location history to a single GPX file</title>
52 <para><userinput>
53 gpsbabel -i googletakeout -f "Semantic Location History" -o gpx -F all.gpx
54 </userinput></para>
55 </example>
56
57 <example xml:id="googletakeout-year">
58 <title>Convert a single years' location history to GPX</title>
59 <para><userinput>
60 gpsbabel -i googletakeout -f "Semantic Location History/2022" -o gpx -F 2022.gpx
61 </userinput></para>
62 </example>
63
64 <example xml:id="googletakeout-month">
65 <title>Convert a single months' location history to GPX</title>
66 <para><userinput>
67 gpsbabel -i googletakeout -f "Semantic Location History/2023/2023_MARCH.json" -o gpx -F 2023-03.gpx
68 </userinput></para>
69 </example>