You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For GPX you need a string
SportsLib.importFromGPX(inputFile,DOMParser).then((result) => {
// do Stuff with the file
// convert to gpx
const gpxPromise = new EventExporterGPX().getAsString(result);
gpxPromise.then((gpxString) => {
// writes the gpx to file
fs.writeFileSync(`${userPath}/result.gpx`, gpxString, 'utf8');
});
The input GPS looks like this
The output GPX looks like this
It's gone from 1348 trackpoints on the input file to 6 trackpoints on the output file.
It seems to generate the statistics ok, it just doesn't work when it comes to preserving the tracklog data from an Etrex30x GPX file.
The text was updated successfully, but these errors were encountered:
Used the following functions.
The input GPS looks like this
The output GPX looks like this
It's gone from 1348 trackpoints on the input file to 6 trackpoints on the output file.
It seems to generate the statistics ok, it just doesn't work when it comes to preserving the tracklog data from an Etrex30x GPX file.
The text was updated successfully, but these errors were encountered: