Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 771 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 771 Bytes

parse gpx

codecov.io Build Status

Parses gpx files into json for data processing, for..................reasons.

usage

The gpx file will be converted to an Array of TrackPoint objects. Containing the latitude, longitude, elevation, and a timestamp.

const parseGpx = require('parse-gpx');

let file = './path/to/some.gpx';

parseGpx(file).then(track => {
    console.log(track[0].latitude); // 43.512926660478115
});

dev

npm test
npm run coverage

license

do wutever u want whenever u want