GithubHelp home page GithubHelp logo

rascafr / gpxtool Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 27 KB

A multi-purpose tool that helps visualize and manipulate GPX files (from Garmin, Strava, Polar sport activities...).

JavaScript 100.00%

gpxtool's Introduction

GPXtool

A multi-purpose tool that helps visualize and manipulate GPX files (from Garmin, Strava, Polar sport activities...).

Still in work in progress, only tested on Garmin Watch's GPX files through Garmin Connect website.

Before using it

  • merge is useful if you have a sport session divided into many activities. Please note that this will not delete relative time between activities (e.g. cycling between 8:00 and 8:30 then 10:00 to 11:00 would result in a 3 hours cycling session, with 1.5 hours of moving time)

  • join acts the same way as merge, plus removes the relative time between activities. Set the last parameters to 0 (seconds) to join all activities without any pause.

  • timechange is a nice feature if you did a running workout at 3pm between two work meetings. Change it to 8:00, upload it to Strava, and your colleges won't call you a lazy person (nevertheless they might do the same). They might even admire your ability to have a real miracle morning.

  • speedchange is an experimental feature. It's working properly but any platform such as Strava will be able to consider you're cheating if the duration between GPS points is reduced. Furthermore, your friends are likely to be surprised seen you running a 10km race in less than 40 minutes.

  • trim removes all pauses from a given file. This means on platforms like Strava for instance, elapsed time would equal moving time.

Installation

You'll just need Node.js 18.

It does not require any external dependencies.

Just clone the repository and you're done.

Usage

The tool provides a CLI that explains everything by itself.

$ npm run start

***** GPXTOOL *****
Started using command <help>
Usage: npm start <command> <file> <option>
Available commands:
 - info 
 - trim 
 - merge <activity1.gpx> <activity2.gpx> ... <activityN.gpx>
 - join  <activity1.gpx> <activity2.gpx> ... <activityN.gpx> <joinDelay (seconds)>
 - timechange <HH:mm>
 - speedchange <1...1000 (%)>
 - help

gpxtool's People

Contributors

rascafr avatar

Stargazers

 avatar

Watchers

 avatar

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.