Coder Social home page Coder Social logo

runtastic-gpx's Introduction

NOTE: This project is no longer maintained!

Runtastic finally listened to the users and provided GPX files including heart rate and altitude data in the official data backup.

Therefore this tool is no longer needed. Many thanks to all who have contributed here!

Read more about it here:

https://help.runtastic.com/hc/en-us/articles/360000953365-Export-Account-Data

runtastic-gpx

๐Ÿ’ช Converts runtastic exports to gpx

Check out the list of supported types

Prerequisites

Latest node and npm

Instructions

  1. Export entire account data and unzip: https://help.runtastic.com/hc/en-us/articles/360000953365-Export-Account-Data

  2. Follow usage below

Use the CLI version

$ npx runtastic-gpx <json-export> <output>

Example:

$ npx runtastic-gpx ~/Desktop/export-20190101-000 ~/Downloads/export

Did it work well for you?

I made this tool in my free time. If you liked it, please consider:

Supported types

  • Run
  • Nordic Walking
  • Cycling
  • Mountain Biking
  • Other
  • Skating
  • Hiking
  • Cross Country Skiing
  • Skiing
  • Snow Boarding
  • Motorbiking
  • Driving
  • Snowshoeing
  • Indoor Run
  • Indoor Ride
  • Elliptical
  • Rowing
  • Swimming
  • Walk
  • Riding
  • Golfing
  • Race Cycling
  • Tennis
  • Badminton
  • Sailing
  • Windsurfing
  • Pilates
  • Climbing
  • Frisbee
  • Weight Training
  • Volleyball
  • Handbike
  • Cross Skating
  • Soccer
  • Smovey Walking
  • Nordic Cross Skating
  • Surfing
  • Kite Surfing
  • Kayaking
  • Paragliding
  • Wake Boarding
  • Freecrossen
  • Back Country Skiing
  • Ice Skating
  • Sledding
  • Snowman Building
  • Snowball Fight
  • Curling
  • Ice Stock
  • Biathlon
  • Kite Skiing
  • Speed Skiing
  • Crossfit
  • Ice Hockey
  • Skateboarding
  • Rugby
  • Standup Paddling

License

MIT

runtastic-gpx's People

Contributors

dmolle avatar glennreyes avatar mipapo avatar pskt avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

runtastic-gpx's Issues

ENOENT: no such file or directory, scandir

Hi,

I get the follwoing on windows:

C:\temp\runtastic-gpx-master>node --version
v12.7.0
C:\temp\runtastic-gpx-master>npx runtastic-gpx c:\temp\Sport-sessions c:\temp\gpx                                                        
npx: installed 69 in 3.643s                                                                                                              
- Load all activities[Error: ENOENT: no such file or directory, scandir 'c:\temp\Sport-sessions\Sport-sessions'] {                       
  errno: -4058,                                                                                                                          
  code: 'ENOENT',                                                                                                                        
  syscall: 'scandir',                                                                                                                    
  path: 'c:\\temp\\Sport-sessions\\Sport-sessions'                                                                                       
}                                                            

Then the process seems to hang for ever in 'Load all activities'
`

cannot upload gpx with no gps data

After succesfully converting, some gpx are for activities that have no gpx data (pilates for example). When you upload them to strava, you get this:

image

More information:
image

Would it make sense to use some dummy gps data just so they let you upload it? I want to move all my history to strava.

thanks

supporting other activities

I would like to know what entails supporting other activities (most of which done have gps data (swim, pilates), and some do (mountain bike)).

I created a small script to see how many of my activites would be converted:

#!/bin/bash
MYTMP=$(mktemp)
# echo "Temp file: $MYTMP"

for FILEJSON in ../Sport-sessions/*.json; do
    type=`cat $FILEJSON | jq -c '.sport_type_id'`
    echo $type >> $MYTMP
    # echo $type 
done

echo "Count and activity ids:"
sort $MYTMP | uniq -c | sort -bgr

outputs something like:

Count and activity ids:
537 "18"
319 "34"
262 "31"
198 "23"
106 "4"
75 "1"
59 "27"
47 "3"
34 "5"
26 "7"
20 "19"
5 "15"

so I would like to get most of them covered. I am not proficient in js.
thanks!

Not all activities converted

First of all, thank you for this great tool! It is super helpful.

I converted my runtastic files with the runalyze web interface. I see many files converted, but some are missing. It looks like there are 327 GPS files in the Sport-sessions/GPS-data folder, but I only get 187 .gpx files in the output (distributed over the different activity folders).

Am I doing something wrong or does anyone have an idea for how to solve this?

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.