undo tmp gpx name

This commit is contained in:
afischerdev 2024-01-30 18:31:34 +01:00
parent b3002a78e3
commit 91ccb858dd

View file

@ -153,8 +153,7 @@ public class FormatGpx extends Formatter {
sb.append(" <wpt lon=\"").append(formatILon(hint.ilon)).append("\" lat=\"") sb.append(" <wpt lon=\"").append(formatILon(hint.ilon)).append("\" lat=\"")
.append(formatILat(hint.ilat)).append("\">") .append(formatILat(hint.ilat)).append("\">")
.append(hint.selev == Short.MIN_VALUE ? "" : "<ele>" + (hint.selev / 4.) + "</ele>") .append(hint.selev == Short.MIN_VALUE ? "" : "<ele>" + (hint.selev / 4.) + "</ele>")
.append("<name>P") .append("<name>")
.append(""+hint.indexInTrack+"_")
.append(hint.getMessageString()) .append(hint.getMessageString())
.append("</name>") .append("</name>")
.append("<extensions><locus:rteDistance>").append("" + hint.distanceToNext).append("</locus:rteDistance>"); .append("<extensions><locus:rteDistance>").append("" + hint.distanceToNext).append("</locus:rteDistance>");