Library to determine how long a track is, within different segments, etc
- Copy the project to your computer with
git clone https://github.com/kcesar/trackstats.gitor click here to download the zip file - Install Node.js on your computer if you don't already have it
- Open a terminal and navigate to the directory you downloaded & unzipped
trackstatsto - In the terminal, run
npm installto download the dependencies needed - In the terminal, run
npm run buildto generate the program
- Copy your GeoJSON file to the same directory as trackstats, for example named "my_track.json"
- In the terminal, type
node ./cli.js my_track.json
TODO: Create a web-based frontend or a better CLI to display the data.
TODO: return other formats (csv, etc)
TODO: Take options for multipliers etc.