All Projects → d-me3 → json2kml

d-me3 / json2kml

Licence: GPL-3.0 license
Python scripts to export Google Maps saved/starred places to KML, CSV, Sygic

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to json2kml

Kml.swift
Simple kml parser for swift
Stars: ✭ 33 (-21.43%)
Mutual labels:  google-maps, kml
trackanimation
Track Animation is a Python 2 and 3 library that provides an easy and user-adjustable way of creating visualizations from GPS data.
Stars: ✭ 74 (+76.19%)
Mutual labels:  google-maps, gps
realtime-geolocation
Geolocation tracking app with Node.js, Socket.io, & AngularJS
Stars: ✭ 29 (-30.95%)
Mutual labels:  google-maps, gps
EasyWayLocation
This library contain all utils related to google location. like, getting lat or long, Address and Location Setting dialog, many more...
Stars: ✭ 142 (+238.1%)
Mutual labels:  google-maps, gps
geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (-33.33%)
Mutual labels:  google-maps
hrms
使用SpringBoot开发的人力资源管理系统 Human Resource Manage System
Stars: ✭ 47 (+11.9%)
Mutual labels:  poi
esp32 gps thingy
GPS location provider and distance measurement with ESP32
Stars: ✭ 36 (-14.29%)
Mutual labels:  gps
Strava-local-heatmap
Python script to generate a high resolution heatmap from Strava GPX files
Stars: ✭ 102 (+142.86%)
Mutual labels:  gps
beboptwo4g
4G/LTE softmod for the Parrot Bebop 2
Stars: ✭ 50 (+19.05%)
Mutual labels:  gps
rubymap
Find out what's going on in your local Ruby community
Stars: ✭ 44 (+4.76%)
Mutual labels:  google-maps
GoogleMaps-CustomInfoWindow-Button
interactive custom InfoWindow for Google Maps
Stars: ✭ 14 (-66.67%)
Mutual labels:  google-maps
GoogleMaps-Directions
No description or website provided.
Stars: ✭ 21 (-50%)
Mutual labels:  google-maps
jquery-google-reviews
simple jquery Plugin that utilizes Google API to get data from a Place on Google Maps
Stars: ✭ 33 (-21.43%)
Mutual labels:  google-maps
nmea msgs
nmea_msgs is a ROS package containing messages related to the NMEA standard
Stars: ✭ 21 (-50%)
Mutual labels:  gps
toronto-apartment-finder
[really old and probably doesn't work] Slack bot to post relevant Toronto apartment listings from Kijiji & Craigslist
Stars: ✭ 23 (-45.24%)
Mutual labels:  google-maps
Excel-Timesheet
⏰ This Add-In is used to produce a timesheet file with functionality to import your Google Timeline. The standard timesheet has options for start and end dates, day of week and default start, end and break times. The Google timeline options are start and end dates, UTC selection, daylight savings time parameters and title filter for timeline ent…
Stars: ✭ 25 (-40.48%)
Mutual labels:  kml
togeojson
convert KML, TCX, and GPX to GeoJSON, without the fuss
Stars: ✭ 315 (+650%)
Mutual labels:  kml
google maps
🗺 An unofficial Google Maps Platform client library for the Rust programming language.
Stars: ✭ 40 (-4.76%)
Mutual labels:  google-maps
UWPGmaps.SDK
Unofficial Google Map SDK for Universal Windows Platform (UWP)
Stars: ✭ 16 (-61.9%)
Mutual labels:  google-maps
Android-Google-Places-API
An easy implementation of Google Places API in Android https://developers.google.com/places/web-service/
Stars: ✭ 53 (+26.19%)
Mutual labels:  google-maps

Export Google Maps saved/starred locations to KML/CSV/Sygic

This repository contain three Python 3 scripts that can be used to export starred locations from Google Maps to other formats which then can be imported by GPS navigation apps or other POI convertion tools. The three scrips are:

  • json2kml: this script converts the list of starred/saved places (a.k.a. POIs) from Google Maps into a KML file that can be imported into various GPS navigation applications (suchs as MAPS.ME).

  • json2csv: this script converts the list of starred/saved places (a.k.a. POIs) from Google Maps into a CSV (Comma Separated Values) file that can be imported into some POI convertion tools or edited directly in Excel.

  • json2sygic: this script converts the list of starred/saved places (a.k.a. POIs) from Google Maps into the internal format used by Sygic Android to save its favorites ("items.dat") file.

How to export Google Maps saved/starred locations to a JSON file

  1. Go to Google Takeout (https://takeout.google.com/settings/takeout).
  2. Click “Select None” and then select “Maps (your places)”. Make sure this is the only option selected.
  3. Google will export a ZIP file. Save this file to your local disk, open it and extract the file “\Takeout\Maps (your places)\Saved Places.json” to a directory in your PC (do not change the file name).
  4. Download one of the scripts below and save to the same directory where you saved "Saved Places.json".

json2kml

This script depends on [“SIMPLEKML” library] (https://simplekml.readthedocs.io/) and it can be installed via pip with the following command line (on Windows you may need to run this command in Command Prompt Admin):

pip install simplekml

After this, the following steps must be executed to generate the KML file from the Google Maps starred/saved locations:

  1. First go to Google Takeout and save the "Saved Places.json" file to a folder on your local disk. More details in the above section ["How to export Google Maps saved/starred locations"] (#how-to-export-google-maps-savedstarred-locations-to-a-json-file).
  2. Download and save the Python script [json2kml.py] (https://raw.githubusercontent.com/dmrsouza/json2kml/master/json2kml.py) to the same folder where the file "Saved Places.json" is located.
  3. Open a command prompt, change the current directory to where the above files were saved, and run the script with the command line python json2kml.py
  4. The script will run and will create the file “Saved Places.kml”.

json2csv

  1. First go to Google Takeout and save the "Saved Places.json" file to a folder on your local disk. More details in the above section ["How to export Google Maps saved/starred locations"] (#how-to-export-google-maps-savedstarred-locations-to-a-json-file).
  2. Download and save the Python script [json2csv.py] (https://raw.githubusercontent.com/dmrsouza/json2kml/master/json2csv.py) to the same folder where the file "Saved Places.json" is located.
  3. Open a command prompt, change the current directory to where the above files were saved, and run the script with the command line: python json2csv.py
  4. The script will run and will create the file “Saved Places.csv”.
  5. Use this file with other convertion tools or open it in Excel.

json2sygic

  1. First go to Google Takeout and save the "Saved Places.json" file to a folder on your local disk. More details in the above section ["How to export Google Maps saved/starred locations"] (#how-to-export-google-maps-savedstarred-locations-to-a-json-file).
  2. Download and save the Python script [json2sygic.py] (https://raw.githubusercontent.com/dmrsouza/json2kml/master/json2sygic.py) to the same folder where the file "Saved Places.json" is located.
  3. Open a command prompt, change the current directory to where the above files were saved, and run the script with the command line python json2sygic.py
  4. The script will run and will create the file “items.dat”.
  5. Copy the file “items.dat” to your Android device. See notes below for more details about the folder to where this file must be copied. IMPORTANT: when overwriting "items.dat" files, all current Sygic favorites will be lost. Keep this in mind.

Notes:

  • In Android devices, Sygic saves the favorites to file "items.dat" (it's a SQLite3 database). This file is located in folder "/Sygic/Res/db/items.dat" if Sygic is configured to use internal storage or in folder "/Android/data/com.sygic.aura/files/Res/db/items.dat" if Sygic is configured to use external SD card.
  • This script creates a new "items.dat" file with all saved places from Google. This file needs to be copied to one of the above foldres.
  • IMPORTANT: when overwriting "items.dat" files, all current Sygic favorites will be lost. Keep this in mind.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].