Skip to content

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

License

Notifications You must be signed in to change notification settings

lhalloran/KML2HEATMAP

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages