jamesjarvis / mappyboi

Let's see if we can build a heatmap?

Home Page:https://jamesjarvis.io/posts/2020/12/map-visualising-location-history/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📍 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

About

Let's see if we can build a heatmap?

https://jamesjarvis.io/posts/2020/12/map-visualising-location-history/

License:GNU Affero General Public License v3.0


Languages

Language:HTML 83.1%Language:Go 16.9%