Skip to content

novastra/GeoJSON-to-KML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Google Maps JSON to KML converter

Convert Google Maps JSON from Google Takeout to a KML file that you can use for Google MyMaps for instance.

The code is 100% client-side using recent Javascript blob file handling.

Demo

A working demo is available here

Description

The file input creates a blob for the JSON file with a fake local URL.

When ready, an AJAX request is made to access the JSON content.

Then it can be converted to KML escaping special chars in the process.

Todo list

The code is quite a quick & dirty solution for Google Maps takeout JSON file. Many improvements can be made.
  • Implement automatic recursive analysis on the component of the JSON to have all possible GeoJSON features starting by the lowest level of information
  • Add a check on the blob object file to validate the JSON structure

About

Convert Google Maps JSON to KML file on client-side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages