mappyboi

command module
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

README

📍 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
base
Package base contains encodable data models and methods for reading and writing from the base location history file.
Package base contains encodable data models and methods for reading and writing from the base location history file.
conversions
Package conversions contains useful converter functions used in various parts of mappyboi.
Package conversions contains useful converter functions used in various parts of mappyboi.
types
Package types holds generic data models to represent objects used within mappyboi.
Package types holds generic data models to represent objects used within mappyboi.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL