]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - src/tim/prune/function/ProjectPoint.java
Version 20.2, January 2021
[GpsPrune.git] / src / tim / prune / function / ProjectPoint.java
index 10c067514da8e5ab74fa5cdadff931513bd61684..ccdc5090669926e055593e16f490665226c3dcfa 100644 (file)
@@ -202,7 +202,6 @@ public class ProjectPoint extends GenericFunction
                final double projectRads = Distance.convertDistanceToRadians(_distanceField.getValue(), distUnit);
                final double origLatRads = Math.toRadians(currPoint.getLatitude().getDouble());
                final double origLonRads = Math.toRadians(currPoint.getLongitude().getDouble());
-               System.out.println("Project from: " + origLatRads + ", " + origLonRads);
                final double bearingRads = Math.toRadians(_bearingField.getValue());
 
                double lat2 = Math.asin(Math.sin(origLatRads) * Math.cos(projectRads)
@@ -212,7 +211,6 @@ public class ProjectPoint extends GenericFunction
 
                double finalLatDeg = Math.toDegrees(lat2);
                double finalLonDeg = Math.toDegrees(lon2);
-               System.out.println("Result is: lat=" + finalLatDeg + ", lon=" + finalLonDeg);
 
                // Create point and append to track
                DataPoint point = new DataPoint(new Latitude(finalLatDeg, Coordinate.FORMAT_DEG),