Code Monkey home page Code Monkey logo

watchmap's Introduction

WatchMap

Forked from Bunnie's Watch Mapper / https://www.bunniestudios.com/blog/?p=5863

Plots Activities (run, walk, swim, etc) from a Garmin device's FIT file on OpenStreetMap using folium and fitparse.

screenshot

screenshot

screenshot

Supported devices

Tested with FIT files extracted from a Garmin Forerunner 245

Dependencies

Works with python 3.9 and above.

Install

pip install watchmap

Retrieving FIT files

The FIT files describing your activities can be retrieved by mounting your Garming device as USB mass storage, and looking in $MOUNTPOINT/GARMIN/Activity/*.fit

Usage

Simply run the tool, providing the name of the input FIT file and output HTML map:

usage: watchmap [-h] -i INPUT -o OUTPUT_DIR

Plot Garmin Activity on a map

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input FIT file
  -o OUTPUT_DIR, --output_dir OUTPUT_DIR
                        Output directory (output will be written in output_dir/{input}.html)

Docker

To run watchmap through docker, use the run_docker.sh script:

./run_docker.sh $INPUTFILE.FIT $OUTPUT_DIRECTORY

watchmap's People

Contributors

bunnie avatar nbr23 avatar vgrand avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vgrand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.