Skip to content

Convert the Latitude JSON File from Google Takeout into a useable format

Notifications You must be signed in to change notification settings

tildedash/latitude-json-converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This simple python script takes a Latitude JSON File which you can get via Google Takeout (https://www.google.com/takeout/?pli=1#custom:latitude) and converts it into a useable format.

Usage:
latitude_json_converter.py input output [-h] [-f {kml,json,csv}]

input                Input File (JSON)
output               Output File (will be overwritten without prompt!)

optional arguments:
  -h, --help         show this help message and exit
  -f {kml,json,csv}  Format of the output


Available formats:

kml (Standard):
KML file with placemarks for each location in your Latitude History. Each placemark will have a point location and a timestamp

csv:
Comma-separated textfile with a TimeStamp and a Location field, suitable for upload to Fusion Tables

json:
Correctly formated JSON file, the JSON file you get as export from Google Takeout has duplicate keys which makes normal parsing impossible


----------------------

Copyright 2012 Gerwin Sturm, FoldedSoft e.U. / www.foldedsoft.at

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Convert the Latitude JSON File from Google Takeout into a useable format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published