Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesjarvis/mappyboi
Let's see if we can build a heatmap?
https://github.com/jamesjarvis/mappyboi
data-visualization golang gpx heatmap location-history
Last synced: 4 months ago
JSON representation
Let's see if we can build a heatmap?
- Host: GitHub
- URL: https://github.com/jamesjarvis/mappyboi
- Owner: jamesjarvis
- License: agpl-3.0
- Created: 2020-12-07T18:18:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T14:27:21.000Z (12 months ago)
- Last Synced: 2024-06-20T22:35:23.794Z (7 months ago)
- Topics: data-visualization, golang, gpx, heatmap, location-history
- Language: HTML
- Homepage: https://jamesjarvis.io/posts/2020/12/map-visualising-location-history/
- Size: 204 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📍 Mappyboi
![Heatmap example](https://user-images.githubusercontent.com/22618981/101420497-36556180-38ea-11eb-9417-d25dda5ae421.png)
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 ExportIf 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
```bash
go install github.com/jamesjarvis/mappyboi/v2
```## Usage
```bash
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
```