Skip to content

jamesjarvis/mappyboi

📍 Mappyboi

Heatmap example

Generates a heatmap of where you have been, using data from:

  • Google Takeout (Location History)
  • Apple Health Export
  • Strava (or other assorted .gpx files)
  • Strava (or other assorted .fit files)
  • Polarsteps Data Export

If you have multiple gpx or fit directories, it is recommended to run multiple times, changing the directory path but keeping the same base file. Only new points will be added.

Installation

go install github.com/jamesjarvis/mappyboi/v2

Usage

mappyboi \
  --base_file all_locations.json \
  --google_location_history="/path/to/Location History.json" \
  --gpx_directory="/path/to/workout-routes" \
  --fit_directory="/path/to/workout-routes" \
  --polarstep_directory="/path/to/polarsteps" \
  --output_reduce_points 10 --output_randomise_points \
  --output_filter_start_date="2024-01-01T00:00:01Z"
  --output_filter_end_date="2024-03-01T00:00:01Z"
  --output_type MAP \
  --output_file heatmap.html
open heatmap.html