A python script that creates a javascript-based heatmap from longitude, latitude coordinate pairs contained in kml files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example_images
example_kml_files
.gitattributes
KML2HEATMAP.py
LICENSE
example_output.html
footer_html.txt
header_html.txt
readme.md

readme.md

KML2HEATMAP

version 0.1 14.09.2018 Author: Landon Halloran (web: ljsh.ca)

Description

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

Screenshots of example outputs

Google Location History

example1 example2

Running routes from GPS-enabled watch output

example3

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 of GPS watch data).