Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.46 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.46 KB

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