Giter VIP home page Giter VIP logo

gpx-modifier-python's Introduction

gpx-modifier-python

A small utility for runners who ever experienced a bad GPS situation. Did you ever come home after your run, only to discover that the GPS didn't work well?

If you see your GPS didn't work well during a run, follow these instructions : This utility will only be useful if you've already made a similar run, on the same path. You'll need a .gpx file from this similar run (which will be referred as the 'reference') and the time it took you ('reference time'). You'll also need to know how much time it took you today, when your GPS didn't work well (referred as 'wanted time').

Then, with all these informations, just start Python3 directly from a terminal and type 'exec(open("Path-to-modify_gpx.py").read())' and fill the form that will be submitted to you through your terminal.

That's it, you now have a new file, which follow the same path than the reference one, but with a different time.

Also, for it to be more realist, I didn't set a linear difference time for the new file, I used the reference file, the time during 2 positions, the reference time and the wanted time to insure it won't look like you've been running at the exact same speed during the whole run. The amount of time between 2 positions in the new file is proportional to the amount of time during the reference file, following the formula : new_amount = reference_amount * (wanted_time / ref_time).

gpx-modifier-python's People

Contributors

barthelemy-simon avatar

Watchers

James Cloos avatar  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.