lhalloran / KML2HEATMAP

A python script that creates a javascript-based heatmap from longitude, latitude coordinate pairs contained in kml files.

Repository from Github https://github.comlhalloran/KML2HEATMAPRepository from Github https://github.comlhalloran/KML2HEATMAP

KML2HEATMAP

version 0.1 14.09.2018 Author: Landon Halloran (website)

Description

A python script that creates a javascript-based heatmap from longitude, latitude coordinate pairs contained in kml files.

Screenshots of example outputs

Running routes from GPS-enabled watch output

example3

Google Location History

example1 example2

What it does...

This script reads in kml files from a selected folder, parses the long/lat data from them, and then outputs an html file that uses the Google Maps Javascript API. This has been tested with kml files exported from:

Inputs

  • folder where kml files are located
  • Google API key (see Requirements below)
  • start longitude, latitude, & zoom level

Requirements:

Included example files

The subfolder example_kml_files/ contains some kml files exported from a fitness tracking website (based on phone or GPS watch data).

About

A python script that creates a javascript-based heatmap from longitude, latitude coordinate pairs contained in kml files.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%