From f18527a25a45789fa154cf71e738a1a0ce6a017f Mon Sep 17 00:00:00 2001 From: Atharva Sawant Date: Sat, 2 Nov 2024 19:23:16 +0530 Subject: [PATCH] Implemented GPX file parsing with track statistics - Using gpx-parser-builder for parsing GPX files - Calculating some preliminary statistics - Some error handling --- .gitignore | 5 +- src/App.vue | 28 +++++- src/composables/useTracks.js | 71 ++++++++++++++ src/utils/gpxParser.js | 174 +++++++++++++++++++++++++++++++++++ 4 files changed, 273 insertions(+), 5 deletions(-) create mode 100644 src/composables/useTracks.js create mode 100644 src/utils/gpxParser.js diff --git a/.gitignore b/.gitignore index 54f07af..bdd538f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,7 @@ dist-ssr *.ntvs* *.njsproj *.sln -*.sw? \ No newline at end of file +*.sw? + +# Data used for testing +test-files diff --git a/src/App.vue b/src/App.vue index 5dd2278..b63b4fb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,8 +19,10 @@