aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
author7heMas7er <31734645+7hemas7er@users.noreply.github.com>2020-07-05 18:47:21 +0200
committerGitHub <noreply@github.com>2020-07-05 18:47:21 +0200
commitc75b5a58aa43b13e50e1056934805bf022f22f6e (patch)
tree23b75b45bcff0984c2c2c8118645cd1a68084de9 /src/main/java/org
parentba76f1e5d1c2acedfad92f5e60d54ecb6ed3f362 (diff)
downloadtrackermap-server-c75b5a58aa43b13e50e1056934805bf022f22f6e.tar.gz
trackermap-server-c75b5a58aa43b13e50e1056934805bf022f22f6e.tar.bz2
trackermap-server-c75b5a58aa43b13e50e1056934805bf022f22f6e.zip
change element from <geoidheight> to <ele>
correct gpx file opening in some softwares
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/web/GpxBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/web/GpxBuilder.java b/src/main/java/org/traccar/web/GpxBuilder.java
index 638d100e5..aeb40a0fa 100644
--- a/src/main/java/org/traccar/web/GpxBuilder.java
+++ b/src/main/java/org/traccar/web/GpxBuilder.java
@@ -33,7 +33,7 @@ public class GpxBuilder {
private static final String NAME = "<name>%1$s</name><trkseg>%n";
private static final String POINT = "<trkpt lat=\"%1$f\" lon=\"%2$f\">"
+ "<time>%3$s</time>"
- + "<geoidheight>%4$f</geoidheight>"
+ + "<ele>%4$f</ele>"
+ "<course>%5$f</course>"
+ "<speed>%6$f</speed>"
+ "</trkpt>%n";