A NodeJS script that converts the locations.json of PolarSteps, to the Universal GPX file.
- Download the project.
- Get the locations.json file from PolarSteps that you're interested in (if you're not sure how to get this file, check here).
- Copy the locations.json file inside the downloaded polarsteps-gpx folder.
- On Mac, open the Terminal app. On Windows, open the Command Prompt (cmd) app.
- cd to the location of the polarsteps-gpx folder. An easy way to do this, is to type "cd " on your Terminal window and then drag and drop the folder inside the Terminal window. For example:
cd /Users/john/Downloads/polarsteps-gpx
- On your terminal, run:
npm install
- Next, run:
npm start
- If everything goes well, your Terminal will tell you:
The file was saved!
- The trip.gpx file is in the project folder (polarsteps-gpx)!
If you don't have npm / Node.js you can install them from here.