From 93e041ab2f5b68ab8798d78fee4ad9249fb0db8d Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 7 Aug 2016 13:54:10 +0200 Subject: [PATCH] add latest test results to comments --- OsmAnd/src/net/osmand/plus/routing/RouteProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java index 3e723d5dfb..b8555e22d6 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java @@ -1044,8 +1044,9 @@ public class RouteProvider { int cRoute = currentRoute; int cDirInfo = currentDirectionInfo; - //saving start point to gpx file -// This causes all offsets to be wrong by 1. Also: start point seems already present in file. + // Saving start point to gpx file's trkpt section +// The only time the startpoint is missing in trkpts is if "Calculate first and last segment" is selected, and start is not the start of the selected file. In all other cases it would be duplicated. +// TODO: Adding it here causes all offsets to be wrong by 1, so this needs fixing // WptPt startpoint = new WptPt(); // TargetPoint sc = helper.getPointToStart(); // if (sc != null){