GithubHelp home page GithubHelp logo

gpx-file-viewer's Introduction

GPX File Viewer

screenshot

Node.js Express framework serving a page that uses the Google Map API to plot the coordinates of an uploaded .gpx or .tcx file, and plotly.js to trace distance, elevation (and pace). Mousing over the plotly.js graph moves a cursor on the map above, indicating its GPS coordinates.

When a .tcx or .gpx file is uploaded, Node.js executes the perl script coords.pl which extracts latitude/longitude, elevation, and timestamp information from the .gpx/.tcx XML, generates a JSON file, and uploads it to the server for use in map and plot generation. A running pace was calculated and inserted into the JSON in an earlier branch (see green line in screenshot above), but it was not a very telling data-point (the pace just stabilized less than halfway into a run, with little indication of real-time speed increase/decrease): this would need to be tweaked for accuracy (a moving-window average based on the previous 10 or so seconds is how I imagine it's handled in most devices), and anyway (at least with the GPS watch that I have), pace data is stored along with HR and cadence in .csv file separate from the GPS data.

gpx-file-viewer's People

Contributors

lamereb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.