Skip to content

Commit

Permalink
Merge pull request #129 from 1e1/develop
Browse files Browse the repository at this point in the history
fix #128
  • Loading branch information
1e1 authored Jul 12, 2021
2 parents 8c16a9b + c19088d commit 84a0487
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: node_js
#python:
# - "3.6"
node_js:
- "14"
- "16"
addons:
apt:
#update: true
Expand Down
2 changes: 1 addition & 1 deletion src/modules/File/Writer/Gpx.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = class Gpx extends WRITER {

setHeader() {
const header = '<?xml version="1.0" encoding="UTF-8" standalone="no" ?>' + "\n"
+ '<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="Oregon 400t" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">'
+ '<gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">'
;

this.header = Buffer.from(header, this.fileEncoding);
Expand Down
64 changes: 57 additions & 7 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84a0487

Please sign in to comment.