Skip to content

arichnad/heatmap-geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heatmap-geojson.py

script to produce a heatmap geojson from gpx files

screenshot.png

usage

command-line options

usage: heatmap-geojson.py [-h] [--gpx-dir DIR] [--gpx-filters FILTERS]
                          [--skip-distance N] [--max-val N] [--bin-size N]
                          [--output FILE] [--quiet]

generate a local heatmap geojson from gpx files

optional arguments:
  -h, --help            show this help message and exit
  --gpx-dir DIR         directory containing the gpx files (default: gpx)
  --gpx-filters FILTERS
                        glob filter(s) for the gpx files (default: *.gpx)
  --skip-distance N     compression: read points that change the position by
                        this distance in meters (default: 10)
  --max-val N           maximum value for a heatmap point (default: 20)
  --bin-size N          compression: put each point into a bin of this size in
                        degrees (default: .00015 degrees)
  --output FILE         output geojson file (default: heatmap.geojson)
  --quiet               quiet output

report issues to github.com/arichnad/heatmap-geojson

python dependencies

setup

  • pip3 install --user --requirement requirements.txt

About

script to produce a heatmap geojson from gpx files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages